mirror of git://sourceware.org/git/glibc.git
Fail if format.lds comes out empty.
This commit is contained in:
parent
d3bdf19b78
commit
5e9b6af4a9
|
@ -1,5 +1,7 @@
|
||||||
2011-07-02 Roland McGrath <roland@hack.frob.com>
|
2011-07-02 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* Makerules ($(common-objpfx)format.lds): Fail if result is empty.
|
||||||
|
|
||||||
* Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
|
* Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
|
||||||
containing directory rather than embedding absolute directory names.
|
containing directory rather than embedding absolute directory names.
|
||||||
|
|
||||||
|
|
|
@ -993,6 +993,7 @@ $(common-objpfx)format.lds: $(..)scripts/output-format.sed \
|
||||||
$(LINK.o) -shared $(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS.so) \
|
$(LINK.o) -shared $(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS.so) \
|
||||||
-x c /dev/null -o $@.so -Wl,--verbose -v 2>&1 \
|
-x c /dev/null -o $@.so -Wl,--verbose -v 2>&1 \
|
||||||
| sed -n -f $< > $@.new
|
| sed -n -f $< > $@.new
|
||||||
|
test -s $@.new
|
||||||
rm -f $@.so
|
rm -f $@.so
|
||||||
mv -f $@.new $@
|
mv -f $@.new $@
|
||||||
common-generated += format.lds
|
common-generated += format.lds
|
||||||
|
|
Loading…
Reference in New Issue