From d315d20d569f7da176eb7445b8c21ea055083f06 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Thu, 7 Aug 2014 00:52:55 +0200 Subject: [PATCH] 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. --- configure.ac | 6 +++--- 1 file 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