Skip to content
Snippets Groups Projects
Commit 997fa75d authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

Add _FORTIFY_SOURCE to default compiler options for linux template

Many distributors use this, so we might as well see the warnings as
well.
parent be0dfbad
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,9 @@
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
# Many distributors use this, so we might as well see the warnings as well.
CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
# If --enable-profiling is specified, we need -DLINUX_PROFILE
PLATFORM_PROFILE_FLAGS="-DLINUX_PROFILE"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment