summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <funman@videolan.org>2012-06-20 11:49:57 +0200
committerWerner Koch <wk@gnupg.org>2012-06-20 13:32:47 +0200
commitc35dbfdaa2e30e08185e4a468278a29e2c48b500 (patch)
treef57d93ad470ca3903089a8ea9c1110bc044b67ab
parenta7eb1bec2b76318bd17d4413d7f44197a241e3bc (diff)
downloadlibgpg-error-c35dbfdaa2e30e08185e4a468278a29e2c48b500.tar.gz
Use CPPFLAGS when generating mkerrcodes.h
* src/Makefile.am (mkerrcodes.h): Use CPPFLAGS. Signed-off-by: Rafaël Carré <funman@videolan.org>
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 518a4c0..a84e3f0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -138,7 +138,7 @@ code-to-errno.h: Makefile mkerrnos.awk errnos.in
# It is correct to use $(CPP). We want the host's idea of the error codes.
mkerrcodes.h: Makefile mkerrcodes.awk $(gpg_extra_headers)
$(AWK) -f $(srcdir)/mkerrcodes1.awk $(srcdir)/errnos.in >_$@
- $(CPP) $(extra_cppflags) _$@ | grep GPG_ERR_ | \
+ $(CPP) $(CPPFLAGS) $(extra_cppflags) _$@ | grep GPG_ERR_ | \
$(AWK) -f $(srcdir)/mkerrcodes.awk >$@
-rm _$@