diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-02 12:27:43 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-02 12:27:43 +0000 |
commit | cd7cbccd5d1da4b465eebed8efbe427ef5f11637 (patch) | |
tree | a6d6cbce7980b6a1e007f4931f342ecbafccc541 /libgomp/configure | |
parent | d76c5c3cb20c328bc43d9014897606b09fbd3acd (diff) | |
download | linaro-gcc-cd7cbccd5d1da4b465eebed8efbe427ef5f11637.tar.gz linaro-gcc-cd7cbccd5d1da4b465eebed8efbe427ef5f11637.tar.bz2 linaro-gcc-cd7cbccd5d1da4b465eebed8efbe427ef5f11637.zip |
Revert:
2006-07-05 Eric Christopher <echristo@apple.com>
* configure.ac: Depend addition of -pthread on host OS.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121497 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/configure')
-rwxr-xr-x | libgomp/configure | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/libgomp/configure b/libgomp/configure index 6301eeba4c2..fe7517bbafd 100755 --- a/libgomp/configure +++ b/libgomp/configure @@ -8464,8 +8464,7 @@ fi # Check to see if -pthread or -lpthread is needed. Prefer the former. # In case the pthread.h system header is not found, this test will fail. XPCFLAGS="" - -# Darwin doesn't need the -pthread option since threads are in libSystem +CFLAGS="$CFLAGS -pthread" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -8504,13 +8503,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - case $host in - *-darwin*) - ;; - default) - XPCFLAGS=" -Wc,-pthread" - ;; - esac + XPCFLAGS=" -Wc,-pthread" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 |