diff options
author | Kyle Schwarz <zeranoe@gmail.com> | 2021-09-18 20:42:56 -0400 |
---|---|---|
committer | Kyle Schwarz <zeranoe@gmail.com> | 2021-09-18 20:42:56 -0400 |
commit | 6d4c88e467454e06e416fec35032869fea29a2e1 (patch) | |
tree | 29ab88e31ef68129f31a2f87608ff0ed8fc61103 | |
parent | fc1b5051d78672c4ac62a82565260d0305054f0b (diff) |
Build without debug symbols
-rwxr-xr-x | mingw-w64-build | 4 |
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 |