summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-05 03:53:44 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-05 03:53:44 +0000
commit2e17eb3d4a6cf86a0f5b6d9f68599c99800b0e06 (patch)
tree7cec8649e121d68caa25b400b170a287b39806c1 /Rules.mak
parent7f011a167421c7576863becb6b286e3d8b37263e (diff)
fPIC doesnt work on bfin
Diffstat (limited to 'Rules.mak')
-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