summaryrefslogtreecommitdiffstats
path: root/config/linux
blob: 642829a375791fd9cc72d1279d230bbcf571945c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Site configuration -- do not distribute this file.

CFLAGS_WARN="-Wall -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs"

CFLAGS_DEBUG="-g -DH5AC_DEBUG_PROTECT -DH5F_LOW_DFLT=H5F_LOW_STDIO -DH5F_OPT_SEEK=1 -fverbose-asm"
CFLAGS_PROFILE="-pg"
CFLAGS_PRODUCTION="-O3 -UH5AC_DEBUG_PROTECT -DNDEBUG -DH5F_LOW_DFLT=H5F_LOW_STDIO -DH5F_OPT_SEEK=1 -finline-functions -funroll-loops -malign-double -fomit-frame-pointer"

if test "x$CFLAGS" = "x"; then

   # Uncomment the following line for a production version of the library.
   #CFLAGS="-pipe $CFLAGS_PRODUCTION $CFLAGS_WARN"

   # Uncomment the following line for normal development
   CFLAGS="-pipe $CFLAGS_DEBUG $CFLAGS_WARN"
fi