summaryrefslogtreecommitdiff
path: root/buildlib/program.mak
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-12-15 17:18:50 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-12-19 23:04:34 +0100
commit85a67355c0340596630a47f85507d61c68dcbd0e (patch)
tree872556e3a613a05c86116fd62dfa100a4ca52fbd /buildlib/program.mak
parent39e77e45ae627165a8f89d83a8f875251920ce05 (diff)
buildsystem: deal with spaces in path to source
Git-Dch: Ignore
Diffstat (limited to 'buildlib/program.mak')
-rw-r--r--buildlib/program.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildlib/program.mak b/buildlib/program.mak
index d833562d6..1b4a5719a 100644
--- a/buildlib/program.mak
+++ b/buildlib/program.mak
@@ -50,7 +50,7 @@ $($(LOCAL)-BIN): $($(LOCAL)-OBJS) $($(LOCAL)-MKS)
vpath %.cc $(SUBDIRS)
$(OBJ)/%.o: %.cc
echo Compiling $< to $@
- $(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXSTD) $(CXXFLAGS) -o $@ $(abspath $<)
+ $(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXSTD) $(CXXFLAGS) -o $@ '$(abspath $<)'
$(DoDep)
# Include the dependencies that are available