This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
PATCH: Add $(..) to libc-abis
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 6 Apr 2010 22:00:59 -0700
- Subject: PATCH: Add $(..) to libc-abis
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
On Linux/i686 with a separate build directory, I got
make[5]: *** No rule to make target `libc-abis', needed by
`/export/build/gnu/glibc/build-i686-linux/libc-abis.h'. Stop.
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/net/gnu-6/export/gnu/import/git/glibc/math'
make[4]: *** [math/others] Error 2
This patch seems to fix it.
H.J.
---
2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
* Makerules (libc-abis): Add $(..) to libc-abis.
diff --git a/Makerules b/Makerules
index debac29..9c15a27 100644
--- a/Makerules
+++ b/Makerules
@@ -113,7 +113,7 @@ ifndef avoid-generated
before-compile := $(common-objpfx)libc-abis.h $(before-compile)
libc-abis := $(firstword $(wildcard $(foreach D,$(add-ons), \
$(..)$D/libc-abis)) \
- libc-abis)
+ $(..)libc-abis)
$(common-objpfx)libc-abis.h: $(..)scripts/gen-libc-abis $(libc-abis)
$(SHELL) $(..)scripts/gen-libc-abis \
$(base-machine)-$(config-vendor)-$(config-os) \