summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorStepan Kasal2007-05-15 20:46:02 +0200
committerKarel Zak2007-05-16 11:43:29 +0200
commit30564097bfb026c0eb877af9dbe3ec963cbd5cc5 (patch)
tree82f532892a4d1c00f65c3c4fc0f31b35f13412de /config
parentbuild-sys: move the optimization flags to AM_CFLAGS (diff)
downloadkernel-qcow2-util-linux-30564097bfb026c0eb877af9dbe3ec963cbd5cc5.tar.gz
kernel-qcow2-util-linux-30564097bfb026c0eb877af9dbe3ec963cbd5cc5.tar.xz
kernel-qcow2-util-linux-30564097bfb026c0eb877af9dbe3ec963cbd5cc5.zip
build-sys: do not play with DEFS, use AM_CPPFLAGS
If a -D flag is needed, it belongs to AM_CPPFLAGS. Signed-off-by: Stepan Kasal <skasal@redhat.com>
Diffstat (limited to 'config')
-rw-r--r--config/include-Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/config/include-Makefile.am b/config/include-Makefile.am
index 61d45cd20..18f8474dc 100644
--- a/config/include-Makefile.am
+++ b/config/include-Makefile.am
@@ -4,8 +4,6 @@ datadir = $(prefix)/usr/share
infodir = $(datadir)/info
mandir = $(datadir)/man
-AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include
+AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include \
+ -DLOCALEDIR=\"$(localedir)\"
AM_CFLAGS = -fsigned-char -fomit-frame-pointer
-
-DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
-