summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJan Engelhardt <[email protected]>2013-03-30 03:30:25 +0100
committerBrian Behlendorf <[email protected]>2013-04-02 10:48:26 -0700
commitecf76e36767cbd5f320d49c9902def14ff89c4a0 (patch)
tree69cf3f7fe9181faecb249a138f5c0b0d3ad88ab9 /config
parent4e95cc99b029f519ec1d3fd86df2910e7cb0d156 (diff)
build: use CPPFLAGS
-D and -I are preprocessor flags, so should preferably be in the appropriate variable. Signed-off-by: Jan Engelhardt <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'config')
-rw-r--r--config/Rules.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/Rules.am b/config/Rules.am
index bd4f0ea60..e3fa5b5a4 100644
--- a/config/Rules.am
+++ b/config/Rules.am
@@ -3,6 +3,6 @@ DEFAULT_INCLUDES = -include ${top_builddir}/zfs_config.h
AM_LIBTOOLFLAGS = --silent
AM_CFLAGS = -Wall -Wstrict-prototypes
AM_CFLAGS += -fno-strict-aliasing ${NO_UNUSED_BUT_SET_VARIABLE} ${DEBUG_CFLAGS}
-AM_CFLAGS += -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT
-AM_CFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64
-AM_CFLAGS += -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\"
+AM_CPPFLAGS = -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT
+AM_CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64
+AM_CPPFLAGS += -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\"