Changeset 39427
- Timestamp:
- Mar 1, 2016, 12:08:38 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20160226/configure.tcsh
r39406 r39427 211 211 if ($sanitize_address) set CFLAGS = "$CFLAGS -fsanitize=address" 212 212 213 # gnu c99 fails due to missing flockfile prototype 214 # we are forced to used gnu99 215 # -std=gnu89 fails with -pedantic tests because we use VA_ARGS in macros (allowed by gnu but not C89) 216 213 217 # use_gnu99 214 if ($use_gnu99 ) then218 if ($use_gnu99 || $extra_safety_checks) then 215 219 set CFLAGS = "$CFLAGS -std=gnu99" 216 220 else … … 232 236 # other temp flags 233 237 if ($extra_safety_checks) then 234 set CPPFLAGS = "$CPPFLAGS -fstack-check -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -fno-strict-aliasing -Wextra -pedantic" 238 set CPPFLAGS = "$CPPFLAGS -fstack-check -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -fno-strict-aliasing -pedantic" 239 set CPPFLAGS = "$CPPFLAGS -Wclobbered -Wempty-body -Wignored-qualifiers -Wmissing-field-initializers -Wmissing-parameter-type -Wold-style-declaration -Woverride-init -Wtype-limits -Wuninitialized -Wunused-parameter -Wunused-but-set-parameter" 240 set CPPFLAGS = "$CPPFLAGS -Wsign-compare" 235 241 endif 236 242 … … 717 723 --enable-profile enable 718 724 --enable-sanitize-address enable 725 --extra-safety-checks enable extra gcc safety checks 719 726 --enable-memcheck enable ohana memory tests 727 --enable-debug-build enable debug build 720 728 --pedantic include -Wall -Werror on compilation 721 729 --use-tcmalloc use the alternate tcmalloc from Google 722 730 --use-gnu99 use gnu99 flags to ensure C99 compatibility 723 731 --no-largefiles skip large file compatibility 732 --enable-no-as-needed pass --no-as-needed flag to linker 724 733 725 734 Installation directories: … … 745 754 --no-create 746 755 --no-recursion 756 --disable-shared 757 --enable-shared 758 --disable-static 759 --enable-static 747 760 --sbindir 748 761 --libexecdir
Note:
See TracChangeset
for help on using the changeset viewer.
