Changeset: a3171e4c33fc for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a3171e4c33fc
Modified Files:
configure.ag
Branch: Jan2014
Log Message:
configure.ag: disable -pthread with all clang 5.*, not only clang 5.0
at least also Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
on MacOSX Mavericks caomplains about -pthread:
"clang: error: argument unused during compilation: '-pthread'"
Once clang 6.* is avialable, we need to check whether not only clang 5.*
but all clang >= 5.0 complain about -pthread.
Alternatively, we need to add a check a la MCHECK_ADD_FLAG()
to test whether a given compiler supports -pthread ...
diffs (14 lines):
diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -1866,8 +1866,8 @@ if test "x$have_pthread" != xno; then
save_LIBS="$LIBS"
save_CPPFLAGS="$CPPFLAGS"
case $GCC-$have_pthread-$CC_ver in
- yes-auto-clang-5.0|yes-yes-clang-5.0)
- # clang 5.0 (at least on Mac OSX Mavericks) does not
+ yes-auto-clang-5.*|yes-yes-clang-5.*)
+ # clang 5.* (at least on Mac OSX Mavericks) does not
# seem to have / require -pthread as compiler
# option; on Mac OSX Mavericks, "Apple LLVM version
# 5.0 (clang-500.2.79) (based on LLVM 3.3svn)"
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list