X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/41a658f873a36e2f8507a84fb40f0632e2a62b15..eb1000f6e5fa7035c764d0e7aa9ca71c7aa8d52d:/buildlib/python.mak?ds=sidebyside diff --git a/buildlib/python.mak b/buildlib/python.mak index f08ab5563..25349daa0 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