summaryrefslogtreecommitdiff
path: root/src/Makefile.shlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.shlib')
-rw-r--r--src/Makefile.shlib1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index 0ce6d2a145d..0839f37e0f5 100644
--- a/src/Makefile.shlib
+++ b/src/Makefile.shlib
@@ -100,6 +100,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)