|
@@ -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 *****
|