summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
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)