[uClibc-cvs] CVS uClibc
CVS User andersen
andersen at codepoet.org
Sat Dec 11 12:23:39 UTC 2004
Update of /var/cvs/uClibc
In directory nail:/tmp/cvs-serv2771
Modified Files:
Rules.mak
Log Message:
Partial commit of a patch from Alexandre Oliva:
Here's an updated version of the patch I posted about a month ago. It
leaves -nostdinc alone, and uses -print-file-name=include instead of
-print-search-dirs to figure out where GCC's internal headers are.
Please let me know whether there are any portions of this patch you'd
like me to break into smaller pieces, to rework, or to give up trying
to get into uClibc :-) Thanks,
--- /var/cvs/uClibc/Rules.mak 2004/10/15 08:25:34 1.173
+++ /var/cvs/uClibc/Rules.mak 2004/12/11 12:23:37 1.174
@@ -191,7 +191,7 @@
CPU_LDFLAGS-$(CONFIG_FRV)+=-melf32frvfd
CPU_CFLAGS-$(CONFIG_FRV)+=-mfdpic
PICFLAG=-fPIC -DPIC
- PIEFLAG=$(call check_gcc,-fpie,)
+ PIEFLAG=-fpie
# Using -pie causes the program to have an interpreter, which is
# forbidden, so we must make do with -shared. Unfortunately,
# -shared by itself would get us global function descriptors
@@ -251,7 +251,7 @@
# Sigh, some stupid versions of gcc can't seem to cope with '-iwithprefix include'
#CFLAGS+=-iwithprefix include
-CFLAGS+=$(shell $(CC) -print-search-dirs | sed -ne "s/install: *\(.*\)/-I\1include/gp")
+CFLAGS+=-isystem $(shell $(CC) -print-file-name=include)
ifneq ($(DOASSERTS),y)
CFLAGS += -DNDEBUG
More information about the uClibc-cvs
mailing list