aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrischka <grischka>2013-02-04 17:10:47 +0100
committergrischka <grischka>2013-02-04 17:10:47 +0100
commit97c279f5ea103f1866f91b2aacc2cead92d63938 (patch)
tree018cd72137c142ff88b0706de9a5103c2682cefe
parent82bcbd027f100d7601c6139e93e1f69a9cc46244 (diff)
downloadtinycc-97c279f5ea103f1866f91b2aacc2cead92d63938.tar.gz
tinycc-97c279f5ea103f1866f91b2aacc2cead92d63938.tar.bz2
Makefile: fix "allow CONFIG_LDDIR=lib64 configuration"
I forgot the commas.
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c3346de..6b929a6 100644
--- a/Makefile
+++ b/Makefile
@@ -45,16 +45,16 @@ endif
ifeq ($(ARCH),i386)
NATIVE_DEFINES=-DTCC_TARGET_I386
NATIVE_DEFINES+=\
- $(if $(wildcard /lib/i386-linux-gnu),-DCONFIG_MULTIARCHDIR=\"i386-linux-gnu\"\
- $(if $(wildcard /lib/i386-kfreebsd-gnu),-DCONFIG_MULTIARCHDIR=\"i386-kfreebsd-gnu\"\
+ $(if $(wildcard /lib/i386-linux-gnu),-DCONFIG_MULTIARCHDIR=\"i386-linux-gnu\",\
+ $(if $(wildcard /lib/i386-kfreebsd-gnu),-DCONFIG_MULTIARCHDIR=\"i386-kfreebsd-gnu\",\
$(if $(wildcard /lib/i386-gnu),-DCONFIG_MULTIARCHDIR=\"i386-gnu\")))
CFLAGS+=-m32
else ifeq ($(ARCH),x86-64)
NATIVE_DEFINES=-DTCC_TARGET_X86_64
CFLAGS+=-m64
NATIVE_DEFINES+=\
- $(if $(wildcard /usr/lib64),-DCONFIG_LDDIR=\"lib64\"\
- $(if $(wildcard /lib/x86_64-linux-gnu),-DCONFIG_MULTIARCHDIR=\"x86_64-linux-gnu\"\
+ $(if $(wildcard /usr/lib64),-DCONFIG_LDDIR=\"lib64\",\
+ $(if $(wildcard /lib/x86_64-linux-gnu),-DCONFIG_MULTIARCHDIR=\"x86_64-linux-gnu\",\
$(if $(wildcard /lib/x86_64-kfreebsd-gnu),-DCONFIG_MULTIARCHDIR=\"x86_64-kfreebsd-gnu\")))
endif