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:
23a4b23
)
pull from Blackfin repo: add -mid-shared-library for UCLIBC_FORMAT_SHARED_FLAT and...
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 22 Jun 2007 07:11:53 +0000
(07:11 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Fri, 22 Jun 2007 07:11:53 +0000
(07:11 -0000)
Rules.mak
patch
|
blob
|
history
diff --git
a/Rules.mak
b/Rules.mak
index
d054bbb
..
ef3d786
100644
(file)
--- a/
Rules.mak
+++ b/
Rules.mak
@@
-153,11
+153,11
@@
OPTIMIZATION+=$(call check_gcc,-fno-tree-dominator-opts,)
OPTIMIZATION+=$(call check_gcc,-fno-strength-reduce,)
endif
-ifeq ($(UCLIBC_FORMAT_FDPIC_ELF),y)
- PICFLAG:=-mfdpic
-else
-
PICFLAG:=
-fPIC
-endif
+CPU_CFLAGS-$(UCLIBC_FORMAT_SHARED_FLAT) += -mid-shared-library
+CPU_CFLAGS-$(UCLIBC_FORMAT_FLAT_SEP_DATA) += -msep-data
+
+
PICFLAG-y :=
-fPIC
+PICFLAG-$(UCLIBC_FORMAT_FDPIC_ELF) := -mfdpic
PIEFLAG_NAME:=-fPIE
# Some nice CPU specific optimizations