From: John Hodge Date: Thu, 8 Sep 2011 00:24:19 +0000 (+0800) Subject: Usermode/ld-access - Fixed issues linking with libld-acess without PIC X-Git-Tag: rel0.11~101 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=1b3207c8f07b02695f6bb424844e0ae39b470773;p=tpg%2Facess2.git Usermode/ld-access - Fixed issues linking with libld-acess without PIC --- diff --git a/Usermode/Libraries/ld-acess.so_src/Makefile b/Usermode/Libraries/ld-acess.so_src/Makefile index 2bdfc483..4b99ecd7 100644 --- a/Usermode/Libraries/ld-acess.so_src/Makefile +++ b/Usermode/Libraries/ld-acess.so_src/Makefile @@ -9,7 +9,7 @@ OBJ += arch/$(ARCHDIR).ao BIN = ld-acess.so EXTRABIN := libld-acess.so -CFLAGS = -g -Wall -fno-builtin -fno-leading-underscore -fno-stack-protector +CFLAGS = -g -Wall -fno-builtin -fno-leading-underscore -fno-stack-protector -fPIC CFLAGS += $(CPPFLAGS) LDFLAGS = -g -T arch/$(ARCHDIR).ld -Map map.txt --export-dynamic