g++wrap: make it work with --enable-glibcxx-debug

* doc/org/g++wrap.in: Honor CPPFLAGS.
This commit is contained in:
Alexandre Duret-Lutz 2017-08-02 15:26:35 +02:00
parent ab42075dce
commit 85c23202b7

View file

@ -5,7 +5,7 @@
# Also we save errors to org.errors, so that we can detect issues
# after org-mode has exported everything. Otherwise these errors
# would go undetected.
@top_builddir@/libtool link @CXX@ @CXXFLAGS@ -Wall -Werror \
@top_builddir@/libtool link @CXX@ @CXXFLAGS@ @CPPFLAGS@ -Wall -Werror \
-I@abs_top_builddir@ -I@abs_top_srcdir@ -I@abs_top_srcdir@/buddy/src \
"$@" @abs_top_builddir@/spot/libspot.la \
@abs_top_builddir@/buddy/src/libbddx.la 2> errors.$$