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.master
parent
62d4b81a83
commit
d315d20d56
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue