]> git.proxmox.com Git - mirror_spl.git/commitdiff
build: use CPPFLAGS
authorJan Engelhardt <jengelh@inai.de>
Sat, 30 Mar 2013 02:30:25 +0000 (03:30 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 2 Apr 2013 18:07:11 +0000 (11:07 -0700)
-D and -I are preprocessor flags, so should preferably be in the
appropriate variable.

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
config/Rules.am

index 0b41ec460504f99311c882f6983d097287db38c9..7c5d3283fe2745db906a340bf91e2d6539673df2 100644 (file)
@@ -9,5 +9,6 @@
 DEFAULT_INCLUDES = -include ${top_builddir}/spl_config.h
 
 AM_LIBTOOLFLAGS = --silent
+AM_CPPFLAGS = -D__USE_LARGEFILE64
 AM_CFLAGS  = -Wall -Wshadow -Wstrict-prototypes -fno-strict-aliasing
-AM_CFLAGS += -D__USE_LARGEFILE64 ${DEBUG_CFLAGS}
+AM_CFLAGS += ${DEBUG_CFLAGS}