summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2001-11-26 11:37:52 +0000
committerDavid Schleef <ds@schleef.org>2001-11-26 11:37:52 +0000
commit3a42cfda8862f7675aa01dc78789c7438e690100 (patch)
treedd1c21918e577582adf7348be9a079bfe7e6eb6f /Rules.mak
parentf2ca1a04b984f6b52781ab0f881e79ecd021442b (diff)
Fix TARGET_CFLAGS to include -fPIC when needed. Libs were being
compiled without -fPIC.
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 5ec34fe2a..c9ae77fd8 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -67,6 +67,7 @@ else
endif
ifeq ($(strip $(DOPIC)),true)
CFLAGS += -fPIC
+ TARGET_CFLAGS += -fPIC
endif
ifeq ($(strip $(HAVE_SHARED)),true)