Changeset 4070
- Timestamp:
- Nov 30, 2009, 10:40:43 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/configure.ac
r4062 r4070 52 52 dnl conditional builds 53 53 AC_ARG_ENABLE(debug, 54 [ --enable-debug build debug versions of neercs (default no)]) 54 [ --enable-debug build debug version of neercs (default no)]) 55 AC_ARG_ENABLE(profiling, 56 [ --enable-profiling build profiling version of neercs (gprof)(default no)]) 55 57 AC_ARG_ENABLE(python, 56 58 [ --enable-python build Python interpreter (default yes)]) … … 114 116 fi 115 117 116 # Optimizations 117 CFLAGS="${CFLAGS} -g -O2 -fno-strength-reduce -fomit-frame-pointer" 118 # Optimizations / Profiling 119 CFLAGS="${CFLAGS} -g -O2 -fno-strength-reduce" 120 121 if test "${enable_profiling}" = "yes"; then 122 CFLAGS="${CFLAGS} -g -O0 -fno-strength-reduce -pg" 123 else 124 CFLAGS="${CFLAGS} -fomit-frame-pointer" 125 fi 126 127 118 128 # Code qui fait des warnings == code de porc == deux baffes dans ta gueule 119 129 CFLAGS="${CFLAGS} -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare"
Note: See TracChangeset
for help on using the changeset viewer.