From 253bad7993825fc4f2caa3613035b3bfa36821fa Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Thu, 28 Jan 2010 08:27:38 +0100 Subject: Added patch to detect and use the paths for 64bit libraries as used by CentOS (affects X86_64 only). --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c530eb8..dd11a9f 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,7 @@ ALLOCA_O=alloca86.o alloca86-bt.o else ifeq ($(ARCH),x86-64) NATIVE_DEFINES=-DTCC_TARGET_X86_64 +NATIVE_DEFINES+=$(if $(wildcard /lib64/ld-linux-x86-64.so.2),-DTCC_TARGET_X86_64_CENTOS) LIBTCC1=libtcc1.a BCHECK_O= ALLOCA_O=alloca86_64.o -- cgit v1.3.1