From c3c77d09651b5bed315c83ebe2354c9d2cb31253 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Thu, 19 Nov 2015 19:27:09 +0100 Subject: move -std=c++11 from CXX to new CXXSTD The hack introduced in aa91826f is replaced with a hopefully better working "proper" solution with a new variable just for the standard we use everywhere we use CXXFLAGS. Git-Dch: Ignore --- buildlib/python.mak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buildlib/python.mak') diff --git a/buildlib/python.mak b/buildlib/python.mak index f08ab5563..18918bb33 100644 --- a/buildlib/python.mak +++ b/buildlib/python.mak @@ -39,7 +39,7 @@ ifndef ONLYSTATICLIBS $(LIB)/$(MODULE)module.so: $($(LOCAL)-OBJS) -rm -f $(LIB)/$($(@F)-MODULE)module.so* 2> /dev/null echo Building shared Python module $@ - $(CXX) $(CXXFLAGS) $(LDFLAGS) $(PICFLAGS) $(LFLAGS) $(LFLAGS_SO)\ + $(CXX) $(CXXSTD) $(CXXFLAGS) $(LDFLAGS) $(PICFLAGS) $(LFLAGS) $(LFLAGS_SO)\ -o $@ -shared \ $(filter %.opic,$^) \ $($(@F)-SLIBS) $(PYTHONLIB) @@ -58,7 +58,7 @@ endif # ifdef PYTHONLIB vpath %.cc $(SUBDIRS) $(OBJ)/%.opic: %.cc echo Compiling $< to $@ - $(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXFLAGS) $(PICFLAGS) -o $@ $(abspath $<) + $(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXSTD) $(CXXFLAGS) $(PICFLAGS) -o $@ $(abspath $<) $(DoDep) # Include the dependencies that are available -- cgit v1.2.3