]> sourceware.org Git - lvm2.git/commitdiff
Fix exported_symbols generation to use standard compiler arguments.
authorAlasdair Kergon <agk@redhat.com>
Mon, 2 Aug 2010 12:44:21 +0000 (12:44 +0000)
committerAlasdair Kergon <agk@redhat.com>
Mon, 2 Aug 2010 12:44:21 +0000 (12:44 +0000)
WHATS_NEW
make.tmpl.in

index b4168304a5b6778fa36a9248ec645843d8ba2852..355a23a82f941cf707b2b623062143cbdb00665e 100644 (file)
--- 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.
index 5566cba239445886bb69c1ffe8a327b3f9ecc981..7f743b38afaec3c04bc625e81c2151e7314ada3d 100644 (file)
@@ -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 \
        ) > $@
This page took 0.048916 seconds and 5 git commands to generate.