소스 검색

Added -s linker option for slightly smaller exes.

Mark Sibly 8 년 전
부모
커밋
349be0a2a0
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      bin/env_windows.txt

+ 3 - 3
bin/env_windows.txt

@@ -26,17 +26,17 @@ MX2_GCC_TOOLS_WINDOWS=${MX2_HOME}\devtools\i686-5.3.0-posix-dwarf-rt_v4-rev0\min
 'Linker options
 MX2_LD_OPTS_WINDOWS=-static -m32
 MX2_LD_OPTS_WINDOWS_DEBUG=
-MX2_LD_OPTS_WINDOWS_RELEASE=-O3 ' -Wl,--gc-sections 
+MX2_LD_OPTS_WINDOWS_RELEASE=-s -O3 '-Wl,--gc-sections 
 
 'C Compiler options
 MX2_CC_OPTS_WINDOWS=-std=gnu99 -m32
 MX2_CC_OPTS_WINDOWS_DEBUG=
-MX2_CC_OPTS_WINDOWS_RELEASE=-O3 -DNDEBUG ' -fdata-sections -ffunction-sections
+MX2_CC_OPTS_WINDOWS_RELEASE=-O3 -DNDEBUG '-fdata-sections -ffunction-sections
 
 'C++ Compiler options
 MX2_CPP_OPTS_WINDOWS=-std=c++11 -m32
 MX2_CPP_OPTS_WINDOWS_DEBUG=
-MX2_CPP_OPTS_WINDOWS_RELEASE=-O3 -DNDEBUG ' -fvtable-gc -fdata-sections -ffunction-sections
+MX2_CPP_OPTS_WINDOWS_RELEASE=-O3 -DNDEBUG '-fvtable-gc -fdata-sections -ffunction-sections
 
 
 '***** EMSCRIPTEN/WASM *****