- CFLAGS="-Wparentheses -Wimplicit -Wreturn-type -Winline -O3 -fomit-frame-pointer $CFLAGS"
- CXXFLAGS="-Wparentheses -Wimplicit -Wreturn-type -Winline -O3 -fomit-frame-pointer $CXXFLAGS"
- else
- CFLAGS="-Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer $CFLAGS"
- CXXFLAGS="-Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer $CXXFLAGS"
- fi
+ CFLAGS="$WARNINGS -O3 -fomit-frame-pointer -Winline $CFLAGS"
+ CXXFLAGS="$WARNINGS -O3 -fomit-frame-pointer -Winline $CXXFLAGS"
+else
+ CFLAGS="$WARNINGS -O -fomit-frame-pointer $CFLAGS"
+ CXXFLAGS="$WARNINGS -O -fomit-frame-pointer $CXXFLAGS"
+fi