summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.shlib1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index eb45daedc88..342496eecd0 100644
--- a/src/Makefile.shlib
+++ b/src/Makefile.shlib
@@ -101,6 +101,7 @@ endif
# Try to keep the sections in some kind of order, folks...
override CFLAGS += $(CFLAGS_SL)
+override CXXFLAGS += $(CFLAGS_SL)
ifdef SO_MAJOR_VERSION
# libraries ought to use this to refer to versioned gettext domain names
override CPPFLAGS += -DSO_MAJOR_VERSION=$(SO_MAJOR_VERSION)