Link init with '-static' instead of '-all-static'.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 14 Mar 2011 10:45:41 +0000 (10:45 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 14 Mar 2011 10:46:55 +0000 (10:46 +0000)
commit42a6e60307b8116dd888e9dae4960f12d895f73f
tree2fd459c358e5d81431f5edf3401b7bc9c86efad0
parent304ee3695e41904d8b2184922732f47aa6ccc0d4
Link init with '-static' instead of '-all-static'.

Latest gcc (4.6.0) does not recognize the -all-static
option; see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46410

Using -static still results in a static init binary:
$ file helper/init
helper/init: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.32, stripped
$ ldd helper/init
           not a dynamic executable
helper/Makefile.am