Fix cross-compilation by passing CPPFLAGS to CPP

This commit is contained in:
Olivier Crête 2018-02-01 10:52:40 +00:00 committed by Akira TAGOH
parent ef748b39e0
commit 5710377301
1 changed files with 1 additions and 1 deletions

View File

@ -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 ' \