From 6d4c88e467454e06e416fec35032869fea29a2e1 Mon Sep 17 00:00:00 2001 From: Kyle Schwarz Date: Sat, 18 Sep 2021 20:42:56 -0400 Subject: Build without debug symbols --- mingw-w64-build | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3