From 85c23202b77d9d4b4206cfb33353cad2f66efeb9 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Wed, 2 Aug 2017 15:26:35 +0200 Subject: [PATCH] g++wrap: make it work with --enable-glibcxx-debug * doc/org/g++wrap.in: Honor CPPFLAGS. --- doc/org/g++wrap.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/org/g++wrap.in b/doc/org/g++wrap.in index 155ccf4e3..c4a61a39c 100755 --- a/doc/org/g++wrap.in +++ b/doc/org/g++wrap.in @@ -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.$$