aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-01-28 08:27:38 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-01-28 08:27:38 +0100
commit253bad7993825fc4f2caa3613035b3bfa36821fa (patch)
tree989f8eea4d730af9b92bd77e2d8adc482413f0c9 /Makefile
parent900871ca8daf805e3c3a90634b07a9d56e4fd8bb (diff)
downloadtinycc-253bad7993825fc4f2caa3613035b3bfa36821fa.tar.gz
tinycc-253bad7993825fc4f2caa3613035b3bfa36821fa.tar.bz2
Added patch to detect and use the paths for 64bit libraries as
used by CentOS (affects X86_64 only).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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