svn commit: trunk/uClibc
vapier at uclibc.org
vapier at uclibc.org
Fri Jun 22 07:11:54 UTC 2007
Author: vapier
Date: 2007-06-22 00:11:53 -0700 (Fri, 22 Jun 2007)
New Revision: 18891
Log:
pull from Blackfin repo: add -mid-shared-library for UCLIBC_FORMAT_SHARED_FLAT and -msep-data for UCLIBC_FORMAT_FLAT_SEP_DATA
Modified:
trunk/uClibc/Rules.mak
Changeset:
Modified: trunk/uClibc/Rules.mak
===================================================================
--- trunk/uClibc/Rules.mak 2007-06-21 22:14:55 UTC (rev 18890)
+++ trunk/uClibc/Rules.mak 2007-06-22 07:11:53 UTC (rev 18891)
@@ -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