Sfoglia il codice sorgente

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

David Schleef 22 anni fa
parent
commit
3a42cfda88
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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)