This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] Small fix for cppflags-iterator.mk
- From: Jeroen Dekkers <jeroen at dekkers dot cx>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 11 Mar 2004 18:59:39 +0100
- Subject: [PATCH] Small fix for cppflags-iterator.mk
The following patch fixes a build failure on i386-gnu. In Makeconfig
the non-directory part of the filename is appended to libof- but in
cppflags-iterator.mk we used the whole filename including directory
components.
2004-03-11 Jeroen Dekkers <jeroen@dekkers.cx>
* cppflags-iterator.mk: Change libof-$(cpp-src) to
libof-$(notdir $(cpp-src)).
Index: cppflags-iterator.mk
===================================================================
RCS file: /cvs/glibc/libc/cppflags-iterator.mk,v
retrieving revision 1.7
diff -u -p -r1.7 cppflags-iterator.mk
--- cppflags-iterator.mk 16 Oct 2002 22:09:47 -0000 1.7
+++ cppflags-iterator.mk 11 Mar 2004 17:33:58 -0000
@@ -4,4 +4,4 @@
cpp-src := $(firstword $(cpp-srcs-left))
cpp-srcs-left := $(filter-out $(cpp-src),$(cpp-srcs-left))
-libof-$(cpp-src) := $(lib)
+libof-$(notdir $(cpp-src)) := $(lib)
--
Jeroen Dekkers