X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/a298a1dc595c548e6c10b48b8e69d987e5be1c42..88749b5dc18eb5708af20185e4339e76bda6fb72:/buildlib/program.mak diff --git a/buildlib/program.mak b/buildlib/program.mak index 71c265f39..1b4a5719a 100644 --- a/buildlib/program.mak +++ b/buildlib/program.mak @@ -44,13 +44,13 @@ $(PROGRAM): $($(LOCAL)-BIN) # The binary build rule $($(LOCAL)-BIN): $($(LOCAL)-OBJS) $($(LOCAL)-MKS) echo Building program $@ - $(CXX) $(CXXFLAGS) $(LDFLAGS) $(LFLAGS) -o $@ $(filter %.o,$^) $($(@F)-SLIBS) $(LEFLAGS) + $(CXX) $(CXXSTD) $(CXXFLAGS) $(LDFLAGS) $(LFLAGS) -o $@ $(filter %.o,$^) $($(@F)-SLIBS) $(LEFLAGS) # Compilation rules vpath %.cc $(SUBDIRS) $(OBJ)/%.o: %.cc echo Compiling $< to $@ - $(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXFLAGS) -o $@ $(abspath $<) + $(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXSTD) $(CXXFLAGS) -o $@ '$(abspath $<)' $(DoDep) # Include the dependencies that are available