Browse Source

Merge branch 'master' of github.com:bkaradzic/bx

Branimir Karadzic 11 years ago
parent
commit
f11d9cd9b7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      scripts/toolchain.lua

+ 2 - 0
scripts/toolchain.lua

@@ -390,6 +390,8 @@ function toolchain(_buildDir, _libDir)
 		}
 		}
 		linkoptions {
 		linkoptions {
 			"-Wl,--gc-sections",
 			"-Wl,--gc-sections",
+			"-static-libgcc",
+			"-static-libstdc++",
 		}
 		}
 
 
 	configuration { "x32", "mingw-gcc" }
 	configuration { "x32", "mingw-gcc" }