From 0146f0de8b271fa962639e6685eaaacf6bcc8d16 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Mon, 2 Aug 2010 12:44:21 +0000 Subject: [PATCH] Fix exported_symbols generation to use standard compiler arguments. --- WHATS_NEW | 1 + make.tmpl.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 \ ) > $@ -- 2.43.5