From ecf76e36767cbd5f320d49c9902def14ff89c4a0 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 30 Mar 2013 03:30:25 +0100 Subject: [PATCH] build: use CPPFLAGS -D and -I are preprocessor flags, so should preferably be in the appropriate variable. Signed-off-by: Jan Engelhardt Signed-off-by: Brian Behlendorf --- config/Rules.am | 6 +++--- 1 file 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\"