summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rules.mak6
1 files changed, 6 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 86a888384..e9c5c53f6 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -230,6 +230,12 @@ ifeq ($(TARGET_ARCH),powerpc)
PIEFLAG_NAME:=-fpie
endif
+ifeq ($(TARGET_ARCH),bfin)
+ # This should also work, but why bother ? ;)
+ #PICFLAG:=-fPIC -mid-shared-library
+ PICFLAG:=-fpic
+endif
+
ifeq ($(TARGET_ARCH),frv)
CPU_LDFLAGS-$(CONFIG_FRV)+=-melf32frvfd
CPU_CFLAGS-$(CONFIG_FRV)+=-mfdpic