Usermode/ld-access - Fixed issues linking with libld-acess without PIC
authorJohn Hodge <[email protected]>
Thu, 8 Sep 2011 00:24:19 +0000 (08:24 +0800)
committerJohn Hodge <[email protected]>
Thu, 8 Sep 2011 00:24:19 +0000 (08:24 +0800)
Usermode/Libraries/ld-acess.so_src/Makefile

index 2bdfc48..4b99ecd 100644 (file)
@@ -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
 

UCC git Repository :: git.ucc.asn.au