aboutsummaryrefslogtreecommitdiff
path: root/mingw-w64-build
diff options
context:
space:
mode:
Diffstat (limited to 'mingw-w64-build')
-rwxr-xr-xmingw-w64-build4
1 files changed, 4 insertions, 0 deletions
diff --git a/mingw-w64-build b/mingw-w64-build
index 96a1f55..99cdd61 100755
--- a/mingw-w64-build
+++ b/mingw-w64-build
@@ -402,6 +402,10 @@ change_dir "$SRC_PATH/gcc"
execute "" "failed to download GCC dependencies" \
./contrib/download_prerequisites
+export CFLAGS="-g0"
+export CXXFLAGS="-g0"
+export LDFLAGS="-s"
+
COMPLETE_MSG="complete, to use MinGW-w64 everywhere add"
if [ "$BUILD_I686" ]; then