Skip to content

Instantly share code, notes, and snippets.

@foriequal0
Last active November 23, 2018 02:37
Show Gist options
  • Save foriequal0/d233575089523efd39e620ec400d3e7c to your computer and use it in GitHub Desktop.
Save foriequal0/d233575089523efd39e620ec400d3e7c to your computer and use it in GitHub Desktop.
firefox buildconfig
/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