diff options
author | Janne Grunau <j@jannau.net> | 2014-08-07 00:52:55 +0200 |
---|---|---|
committer | Janne Grunau <j@jannau.net> | 2014-10-09 23:19:28 +0200 |
commit | d315d20d569f7da176eb7445b8c21ea055083f06 (patch) | |
tree | d77644bb42a4bdafd98cfc58c09976430dbd3aa4 | |
parent | 62d4b81a833477e596c3ec264f83c08901eeea5b (diff) | |
download | gf-complete-d315d20d569f7da176eb7445b8c21ea055083f06.tar.gz |
build: make CFLAGS user setable
There is no need to force the non-default CFLAGS on users trying to set
them via enviroment variable or on configure command.
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 9f33852..02a62b8 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,9 @@ # FIXME - add project url as the last argument AC_INIT(gf-complete, 1.0) +# Override default CFLAGS +: ${CFLAGS="-Wall -Wpointer-arith -O3 -g"} + AC_PREREQ([2.61]) AM_INIT_AUTOMAKE([no-dependencies foreign]) @@ -16,9 +19,6 @@ AC_CONFIG_MACRO_DIR([m4]) # This prevents './configure; make' from trying to run autotools. AM_MAINTAINER_MODE([disable]) -# Override default CFLAGS -CFLAGS="-Wall -Wpointer-arith -O3 -g" - dnl Compiling with per-target flags requires AM_PROG_CC_C_O. AC_PROG_CC |