summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2018-02-01 10:52:40 +0000
committerAkira TAGOH <akira@tagoh.org>2018-02-01 20:11:19 +0900
commit5710377301f7193f133103cede00e81a2051eb51 (patch)
tree9d62ba477677858005f140fcc09e98daf83ecb15 /src
parentef748b39e022ce98d5aa8110d713368cf39f0ebf (diff)
Fix cross-compilation by passing CPPFLAGS to CPP
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 80780b62..1a3cf4b2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -108,7 +108,7 @@ fcobjshash.gperf: Makefile stamp-fcobjshash.gperf
@$(MAKE) stamp-fcobjshash.gperf
@touch -r stamp-fcobjshash.gperf $@
stamp-fcobjshash.gperf: fcobjshash.gperf.h fcobjs.h
- $(AM_V_GEN) $(CPP) -I$(top_srcdir) $< | \
+ $(AM_V_GEN) $(CPP) -I$(top_srcdir) $(CPPFLAGS) $< | \
$(SED) 's/^ *//;s/ *, */,/' | \
$(GREP) '^[^#]' | \
awk ' \