summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorStepan Kasal2007-05-15 20:46:01 +0200
committerKarel Zak2007-05-16 11:43:29 +0200
commit8671065ce5d13d97fb3f42b6736985f591f53981 (patch)
tree7f296f12b3f6008cea3d3ff0d68856447d2bcb21 /config
parentbuild-sys: do not kick off AM_CFLAGS by SUID_CFLAGS (diff)
downloadkernel-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>
Diffstat (limited to 'config')
-rw-r--r--config/include-Makefile.am1
1 files changed, 1 insertions, 0 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@