diff options
author | Stepan Kasal | 2007-05-15 20:46:01 +0200 |
---|---|---|
committer | Karel Zak | 2007-05-16 11:43:29 +0200 |
commit | 8671065ce5d13d97fb3f42b6736985f591f53981 (patch) | |
tree | 7f296f12b3f6008cea3d3ff0d68856447d2bcb21 | |
parent | build-sys: do not kick off AM_CFLAGS by SUID_CFLAGS (diff) | |
download | kernel-qcow2-util-linux-8671065ce5d13d97fb3f42b6736985f591f53981.tar.gz kernel-qcow2-util-linux-8671065ce5d13d97fb3f42b6736985f591f53981.tar.xz kernel-qcow2-util-linux-8671065ce5d13d97fb3f42b6736985f591f53981.zip |
build-sys: move the optimization flags to AM_CFLAGS
The optimization flags are not preprocessor flags.
Moreover, CPPFLAGS and CFLAGS shall be overridable at make time, the
configure script shall not touch them.
Setting AM_CFLAGS in config/include-Makefile.am seems to be TRW.
Signed-off-by: Stepan Kasal <skasal@redhat.com>
-rw-r--r-- | config/include-Makefile.am | 1 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/config/include-Makefile.am b/config/include-Makefile.am index d3fffa760..61d45cd20 100644 --- a/config/include-Makefile.am +++ b/config/include-Makefile.am @@ -5,6 +5,7 @@ infodir = $(datadir)/info mandir = $(datadir)/man AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include +AM_CFLAGS = -fsigned-char -fomit-frame-pointer DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ diff --git a/configure.ac b/configure.ac index d24ce0995..8b62decf1 100644 --- a/configure.ac +++ b/configure.ac @@ -401,8 +401,6 @@ fi AC_SUBST([SUID_CFLAGS]) -CPPFLAGS="-fsigned-char -fomit-frame-pointer $CPPFLAGS" - LIBS="" |