[uClibc-cvs] CVS uClibc/ldso/libdl

CVS User andersen andersen at codepoet.org
Sat Dec 11 12:23:35 UTC 2004


Update of /var/cvs/uClibc/ldso/libdl
In directory nail:/tmp/cvs-serv2771/ldso/libdl

Modified Files:
	Makefile 
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/ldso/libdl/Makefile	2004/10/03 07:52:02	1.42
+++ /var/cvs/uClibc/ldso/libdl/Makefile	2004/12/11 12:23:34	1.43
@@ -31,7 +31,7 @@
 	-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
 	-fno-builtin -nostdinc -D_LIBC -I$(TOPDIR)ldso/include -I$(TOPDIR)ldso/ldso -I. -I$(TOPDIR)include
 
-XXFLAGS+=$(shell $(CC) -print-search-dirs | sed -ne "s/install: *\(.*\)/-I\1include/gp")
+XXFLAGS+=-isystem $(shell $(CC) -print-file-name=include)
 XXFLAGS_NOPIC:=$(XXFLAGS)
 ifeq ($(DOPIC),y)
     XXFLAGS += $(PICFLAG) -D__LIBDL_SHARED__



More information about the uClibc-cvs mailing list