summaryrefslogtreecommitdiffstats
path: root/make.tmpl.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2010-08-02 12:44:21 +0000
committerAlasdair Kergon <agk@redhat.com>2010-08-02 12:44:21 +0000
commit0146f0de8b271fa962639e6685eaaacf6bcc8d16 (patch)
tree666fecbbc0da2c1493c5f40db080b09c7bee92ee /make.tmpl.in
parent2d696f9efce0eeb85879dec24c36bf4e9aaa9d15 (diff)
downloadlvm2-0146f0de8b271fa962639e6685eaaacf6bcc8d16.tar.gz
lvm2-0146f0de8b271fa962639e6685eaaacf6bcc8d16.tar.xz
lvm2-0146f0de8b271fa962639e6685eaaacf6bcc8d16.zip
Fix exported_symbols generation to use standard compiler arguments.
Diffstat (limited to 'make.tmpl.in')
-rw-r--r--make.tmpl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index 5566cba2..7f743b38 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -360,7 +360,7 @@ distclean: cleandir $(SUBDIRS.distclean)
set -e; \
( cat $(srcdir)/.exported_symbols; \
if test x$(EXPORTED_HEADER) != x; then \
- $(CC) -E -P $(EXPORTED_HEADER) | \
+ $(CC) -E -P $(INCLUDES) $(DEFS) $(CFLAGS) $(EXPORTED_HEADER) | \
$(SED) -ne "/^typedef|}/!s/.*[ \*]\(\$(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \
fi \
) > $@