- Timestamp:
- Jun 11, 2012, 1:25:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120601/psLib/m4/ipp_stdopts.m4
r33997 r34003 1 1 2 dnl this is currently written to override an user-defined CFLAGS, is that OK?3 2 dnl this is currently written to override an user-defined LDFLAGS, is that OK? 4 3 5 4 AC_DEFUN([IPP_STDCFLAGS], 6 5 [ 6 dnl this section currently overrides a user-defined CFLAGS 7 7 AC_ARG_ENABLE(optimize, 8 8 [AS_HELP_STRING(--enable-optimize,enable compiler optimization)], … … 12 12 if test x"${CFLAGS}" == x; then 13 13 CFLAGS="-pipe -O0 -g" 14 fi 15 ] 16 ) 17 AC_ARG_ENABLE(debug-build, 18 [AS_HELP_STRING(--enable-debug-build,enable debug build: ie disable Werror)], 19 [AC_MSG_RESULT(debug build enabled) 20 if test x"${CFLAGS}" == x; then 21 CFLAGS="-Wall" 22 else 23 CFLAGS="${CFLAGS=} -Wall" 24 fi 25 ], 26 [AC_MSG_RESULT([compile optimization disabled]) 27 if test x"${CFLAGS}" == x; then 28 CFLAGS="-Wall -Werror" 29 else 30 CFLAGS="${CFLAGS=} -Wall -Werror" 14 31 fi 15 32 ]
Note:
See TracChangeset
for help on using the changeset viewer.
