From 0519eea9513131a946b39338b51fd54df22790cf Mon Sep 17 00:00:00 2001 From: Jean-Luc Duprat Date: Tue, 10 Jan 2012 10:34:57 -0800 Subject: [PATCH] Makefile does not hardcode link paths on Linux Link statically for both x86 and x86-64 --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index f9d0cbab..5a2246c3 100644 --- a/Makefile +++ b/Makefile @@ -45,11 +45,7 @@ LDFLAGS= ifeq ($(ARCH_OS),Linux) # try to link everything statically under Linux (including libstdc++) so # that the binaries we generate will be portable across distributions... - ifeq ($(ARCH_TYPE),x86_64) - LDFLAGS=-static -L/usr/lib/gcc/x86_64-linux-gnu/4.4 - else - LDFLAGS=-L/usr/lib/gcc/i686-redhat-linux/4.6.0 - endif + LDFLAGS=-static endif LEX=flex