Last active
November 23, 2018 02:37
-
-
Save foriequal0/d233575089523efd39e620ec400d3e7c to your computer and use it in GitHub Desktop.
firefox buildconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/gcc -std=gnu99 \ | |
-Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code \ | |
-Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object \ | |
-Wformat -Wformat-security -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe | |
/usr/bin/g++ -std=gnu++11 \ | |
-Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code \ | |
-Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object \ | |
-Wformat -Wformat-security -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe \ | |
-Wc++11-compat -Wc++14-compat -Woverloaded-virtual -Wwrite-strings -Wno-invalid-offsetof -fno-rtti -fno-exceptions \ | |
-g -freorder-blocks -O2 -fomit-frame-pointer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackoverflow.com/questions/5088460/flags-to-enable-thorough-and-verbose-g-warnings/9862800#9862800