diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-03-31 15:53:57 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-03-31 15:53:57 +0000 |
commit | e033f8aec05bffe9321732c233b779f42db117a2 (patch) | |
tree | 264d480b86fd350558acad88f10cf99f8c097a31 /winsup/cygwin/gentls_offsets | |
parent | ecd5006bcce99df4c46d9ed0e8d3364843867116 (diff) | |
download | cygnal-e033f8aec05bffe9321732c233b779f42db117a2.tar.gz cygnal-e033f8aec05bffe9321732c233b779f42db117a2.tar.bz2 cygnal-e033f8aec05bffe9321732c233b779f42db117a2.zip |
* gentls_offsets: Add '-m32' flag to native compiler call to satisfy
cross platform builds.
Diffstat (limited to 'winsup/cygwin/gentls_offsets')
-rwxr-xr-x | winsup/cygwin/gentls_offsets | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/gentls_offsets b/winsup/cygwin/gentls_offsets index 561c77576..0d796f6af 100755 --- a/winsup/cygwin/gentls_offsets +++ b/winsup/cygwin/gentls_offsets @@ -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"; |