aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMax Horn2007-11-14 19:23:20 +0000
committerMax Horn2007-11-14 19:23:20 +0000
commit1beb50f03e3e1e75065955cf88dde45c0b145c92 (patch)
tree3c9ecc240d7dce344c9ae9aaa6ba7ee916767199 /Makefile
parent254369540c6a39f47220739522ab2de35ea416a3 (diff)
downloadscummvm-rg350-1beb50f03e3e1e75065955cf88dde45c0b145c92.tar.gz
scummvm-rg350-1beb50f03e3e1e75065955cf88dde45c0b145c92.tar.bz2
scummvm-rg350-1beb50f03e3e1e75065955cf88dde45c0b145c92.zip
When reconfiguring, quote env var values in case they contain whitespaces
svn-id: r29502
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ccd1055ba9..02eb6effdc 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,7 @@ config.mk: $(srcdir)/configure
ifdef CONFIG_MK_IS_PRESENT
@echo "Running $(srcdir)/configure with the last specified parameters"
@sleep 2s
- LDFLAGS=$(SAVED_LDFLAGS) CXX=$(SAVED_CXX) CXXFLAGS=$(SAVED_CXXFLAGS) CPPFLAGS=$(SAVED_CPPFLAGS) \
+ LDFLAGS="$(SAVED_LDFLAGS)" CXX="$(SAVED_CXX)" CXXFLAGS="$(SAVED_CXXFLAGS)" CPPFLAGS="$(SAVED_CPPFLAGS)" \
$(srcdir)/configure $(SAVED_CONFIGFLAGS)
else
$(error You need to run $(srcdir)/configure before you can run make. Check $(srcdir)/configure --help for a list of parameters)