From: Alasdair Kergon Date: Mon, 2 Aug 2010 12:44:21 +0000 (+0000) Subject: Fix exported_symbols generation to use standard compiler arguments. X-Git-Tag: v2_02_91~1642 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=0146f0de8b271fa962639e6685eaaacf6bcc8d16;p=lvm2.git Fix exported_symbols generation to use standard compiler arguments. --- diff --git a/WHATS_NEW b/WHATS_NEW index b4168304a..355a23a82 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.73 - ================================ + Fix exported_symbols generation to use standard compiler arguments. Use #include <> not "" in lvm2app.h which gets installed on the system. Make liblvm.device-mapper wait for include file generation. Drop explicit 'Base' version from exported symbols. diff --git a/make.tmpl.in b/make.tmpl.in index 5566cba23..7f743b38a 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 \ ) > $@