aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <[email protected]>2012-06-20 09:49:57 +0000
committerWerner Koch <[email protected]>2012-06-20 11:32:47 +0000
commitc35dbfdaa2e30e08185e4a468278a29e2c48b500 (patch)
treef57d93ad470ca3903089a8ea9c1110bc044b67ab
parentRemove non-source file from the repo. (diff)
downloadlibgpg-error-c35dbfdaa2e30e08185e4a468278a29e2c48b500.tar.gz
libgpg-error-c35dbfdaa2e30e08185e4a468278a29e2c48b500.zip
Use CPPFLAGS when generating mkerrcodes.h
* src/Makefile.am (mkerrcodes.h): Use CPPFLAGS. Signed-off-by: Rafaël Carré <[email protected]>
-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 _$@