summaryrefslogtreecommitdiffstats
path: root/config/linux
blob: 53d8bf481cd94a3c6f549e2fd95cd04654ab3185 (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 -fverbose-asm"
CFLAGS_PROFILE="-pg"
CFLAGS_PRODUCTION="-O3 -UH5AC_DEBUG_PROTECT -DNDEBUG -DH5F_LOW_DFLT=H5F_LOW_STDIO -DH5F_OPT_SEEK -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