瀏覽代碼

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

David Schleef 22 年之前
父節點
當前提交
3a42cfda88
共有 1 個文件被更改,包括 1 次插入0 次删除
  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)