* gentls_offsets: Add '-m32' flag to native compiler call to satisfy
cross platform builds.
This commit is contained in:
parent
ecd5006bcc
commit
e033f8aec0
|
@ -1,3 +1,8 @@
|
|||
2005-03-31 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* gentls_offsets: Add '-m32' flag to native compiler call to satisfy
|
||||
cross platform builds.
|
||||
|
||||
2005-03-31 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* errno.cc (NO_SYSTEM_RESOURCES): Map to EAGAIN.
|
||||
|
|
|
@ -71,8 +71,8 @@ EOF
|
|||
EOF
|
||||
close TMP;
|
||||
system @ARGV, '-o', "/tmp/$$-1.cc", '-E', "/tmp/$$.cc";
|
||||
system 'g++', '-o', "/tmp/$$.a.out", "/tmp/$$-1.cc" and
|
||||
($? == 127 && system 'c++', '-o', "/tmp/$$.a.out", "/tmp/$$-1.cc") and
|
||||
system 'g++', '-m32', '-o', "/tmp/$$.a.out", "/tmp/$$-1.cc" and
|
||||
($? == 127 && system 'c++', '-m32', '-o', "/tmp/$$.a.out", "/tmp/$$-1.cc") and
|
||||
die "$0: couldn't generate executable for offset calculation \"/tmp/$$.a.out\" - $!\n";
|
||||
open(TLS_OUT, '>', $tls_out) or die "$0: couldn't open tls index file \"tls_out\" - $!\n";
|
||||
open(OFFS, "/tmp/$$.a.out|") or die "$0: couldn't run \"/tmp/$$.a.out\" - $!\n";
|
||||
|
|
Loading…
Reference in New Issue