OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f011a1
)
fPIC doesnt work on bfin
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 5 Jan 2006 03:53:44 +0000
(
03:53
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 5 Jan 2006 03:53:44 +0000
(
03:53
-0000)
Rules.mak
patch
|
blob
|
history
diff --git
a/Rules.mak
b/Rules.mak
index
86a8883
..
e9c5c53
100644
(file)
--- 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