svn commit: branches/uClibc_0_9_29
vapier at uclibc.org
vapier at uclibc.org
Sat Jan 5 17:25:47 UTC 2008
Author: vapier
Date: 2008-01-05 09:25:46 -0800 (Sat, 05 Jan 2008)
New Revision: 20746
Log:
Merge r18891 by vapier from trunk:
pull from Blackfin repo: add -mid-shared-library for UCLIBC_FORMAT_SHARED_FLAT and -msep-data for UCLIBC_FORMAT_FLAT_SEP_DATA
Modified:
branches/uClibc_0_9_29/Rules.mak
Changeset:
Modified: branches/uClibc_0_9_29/Rules.mak
===================================================================
--- branches/uClibc_0_9_29/Rules.mak 2008-01-05 17:24:47 UTC (rev 20745)
+++ branches/uClibc_0_9_29/Rules.mak 2008-01-05 17:25:46 UTC (rev 20746)
@@ -153,11 +153,11 @@
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
More information about the uClibc-cvs
mailing list