Explorar el Código

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

David Schleef hace 22 años
padre
commit
3a42cfda88
Se han modificado 1 ficheros con 1 adiciones y 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)