aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2011-06-10 23:37:35 -0700
committerRoland McGrath <roland@hack.frob.com>2011-06-10 23:37:35 -0700
commitdecd4e50b6faa6b148fe7ef99536ba9f95183a00 (patch)
tree2b8da73e37d4f05953b528de4aa3d0c1ed8a44a1 /Makerules
parent5615eaf26469f20c2d8c3be5770e12564a1edfff (diff)
downloadglibc-decd4e50b6faa6b148fe7ef99536ba9f95183a00.zip
glibc-decd4e50b6faa6b148fe7ef99536ba9f95183a00.tar.gz
glibc-decd4e50b6faa6b148fe7ef99536ba9f95183a00.tar.bz2
Better detect total failure of linker script generation.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 82ffa1e..6b4b0e1 100644
--- a/Makerules
+++ b/Makerules
@@ -510,6 +510,7 @@ $(common-objpfx)shlib.lds: $(common-objpfx)config.make $(..)Makerules
__libc_thread_subfreeres : { *(__libc_thread_subfreeres) }\
PROVIDE(__stop___libc_thread_subfreeres = .);\
/DISCARD/ : { *(.gnu.glibc-stub.*) }@'
+ test -s $@T
mv -f $@T $@
common-generated += shlib.lds