Browse Source

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

David Schleef 22 years ago
parent
commit
3a42cfda88
1 changed files with 1 additions and 0 deletions
  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)