mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-31 06:20:06 +08:00
Makefile: fix "allow CONFIG_LDDIR=lib64 configuration"
I forgot the commas.
This commit is contained in:
parent
82bcbd027f
commit
97c279f5ea
8
Makefile
8
Makefile
@ -45,16 +45,16 @@ endif
|
|||||||
ifeq ($(ARCH),i386)
|
ifeq ($(ARCH),i386)
|
||||||
NATIVE_DEFINES=-DTCC_TARGET_I386
|
NATIVE_DEFINES=-DTCC_TARGET_I386
|
||||||
NATIVE_DEFINES+=\
|
NATIVE_DEFINES+=\
|
||||||
$(if $(wildcard /lib/i386-linux-gnu),-DCONFIG_MULTIARCHDIR=\"i386-linux-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-kfreebsd-gnu),-DCONFIG_MULTIARCHDIR=\"i386-kfreebsd-gnu\",\
|
||||||
$(if $(wildcard /lib/i386-gnu),-DCONFIG_MULTIARCHDIR=\"i386-gnu\")))
|
$(if $(wildcard /lib/i386-gnu),-DCONFIG_MULTIARCHDIR=\"i386-gnu\")))
|
||||||
CFLAGS+=-m32
|
CFLAGS+=-m32
|
||||||
else ifeq ($(ARCH),x86-64)
|
else ifeq ($(ARCH),x86-64)
|
||||||
NATIVE_DEFINES=-DTCC_TARGET_X86_64
|
NATIVE_DEFINES=-DTCC_TARGET_X86_64
|
||||||
CFLAGS+=-m64
|
CFLAGS+=-m64
|
||||||
NATIVE_DEFINES+=\
|
NATIVE_DEFINES+=\
|
||||||
$(if $(wildcard /usr/lib64),-DCONFIG_LDDIR=\"lib64\"\
|
$(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-linux-gnu),-DCONFIG_MULTIARCHDIR=\"x86_64-linux-gnu\",\
|
||||||
$(if $(wildcard /lib/x86_64-kfreebsd-gnu),-DCONFIG_MULTIARCHDIR=\"x86_64-kfreebsd-gnu\")))
|
$(if $(wildcard /lib/x86_64-kfreebsd-gnu),-DCONFIG_MULTIARCHDIR=\"x86_64-kfreebsd-gnu\")))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user