diff options
author | Zoltan Varga <vargaz@gmail.com> | 2005-08-26 17:36:10 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2005-08-26 17:36:10 +0400 |
commit | 4945a1ae8df1e372ff69128f7430dcd46f4e9609 (patch) | |
tree | dd91a7834a808b06235a6377ee700abff044dbce /configure.in | |
parent | 0ea923560483d75cbb31a4fc06335cbab55852c9 (diff) |
2005-08-25 Zoltan Varga <vargaz@gmail.com>
* configure.in: Use CC instead of gcc for __thread tests.
svn path=/trunk/mono/; revision=48892
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 102d7840c58..6cf992abf96 100644 --- a/configure.in +++ b/configure.in @@ -1595,8 +1595,8 @@ if test "x$TARGET" = "xAMD64" -o "x$TARGET" = "xX86"; then # rm -f conftest.c conftest.so conftest echo "static __thread int foo; void main () { foo = 5; }" > conftest.c - gcc -fPIC --shared -o conftest.so conftest.c > /dev/null 2>&1 - gcc -o conftest conftest.so > /dev/null 2>&1 + $CC -fPIC --shared -o conftest.so conftest.c > /dev/null 2>&1 + $CC -o conftest conftest.so > /dev/null 2>&1 if test ! -f conftest; then AC_MSG_WARN([Disabling usage of __thread.]); with_tls=pthread |