diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-06-22 07:11:53 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-06-22 07:11:53 +0000 |
commit | dcad31e64c6db2c36fc9ada1e15ba6e930f2ff8c (patch) | |
tree | bd53b577e870a920ddf555addffc4b6ad8c5092f | |
parent | 23a4b23a9a4a1668950c4c264e9f99d73bf935f6 (diff) |
pull from Blackfin repo: add -mid-shared-library for UCLIBC_FORMAT_SHARED_FLAT and -msep-data for UCLIBC_FORMAT_FLAT_SEP_DATA
-rw-r--r-- | Rules.mak | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |