Explorar o código

Fix TARGET_CFLAGS to include -fPIC when needed. Libs were being
compiled without -fPIC.

David Schleef %!s(int64=24) %!d(string=hai) anos
pai
achega
3a42cfda88
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Rules.mak

+ 1 - 0
Rules.mak

@@ -67,6 +67,7 @@ else
 endif
 ifeq ($(strip $(DOPIC)),true)
     CFLAGS += -fPIC
+    TARGET_CFLAGS += -fPIC
 endif
 
 ifeq ($(strip $(HAVE_SHARED)),true)