From d88f5820c71fb30f482d46327cc077985641e316 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sun, 3 Apr 2011 18:20:35 +0200 Subject: [PATCH] Add -fPIC to compile on x86_64 --- build/config.target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/config.target b/build/config.target index 780485e..f4fa427 100644 --- a/build/config.target +++ b/build/config.target @@ -82,7 +82,7 @@ CONFIG_DISKBFQ=y # Instead, we call normal gcc with parameters which mgcc adds -CFLAGS=$(ARCH_GCC_OPTS) -Wall -Wuninitialized -g -O2 $(CFLAGS-y) -D_REENTRANT -D$(PLATFORM) -D_XOPEN_SOURCE=600 -D_BSD_SOURCE +CFLAGS=$(ARCH_GCC_OPTS) -Wall -Wuninitialized -g -O2 $(CFLAGS-y) -D_REENTRANT -D$(PLATFORM) -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC LDFLAGS=$(ARCH_LD_OPTS) $(LIBS_PATH) $(LIBS) LDFLAGS += '-Wl,-rpath,$$ORIGIN/../lib' -z origin --enable-new-dtags -- 2.39.2