Browse Source

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
Janne Grunau 7 years ago
parent
commit
d315d20d56
  1. 6
      configure.ac

6
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

Loading…
Cancel
Save