Browse Source

[clang-build] specify thread flag as part CPPFLAGS, not LDFLAGS.

newer version of clang treats the latter as a fatal error.
JINMEI Tatuya 12 years ago
parent
commit
daf81c8846
1 changed files with 2 additions and 1 deletions
  1. 2 1
      configure.ac

+ 2 - 1
configure.ac

@@ -743,7 +743,8 @@ else
 	done
 fi
 
-LOG4CPLUS_LIBS="$LOG4CPLUS_LIBS -llog4cplus $MULTITHREADING_FLAG"
+LOG4CPLUS_INCLUDES="$LOG4CPLUS_INCLUDES $MULTITHREADING_FLAG"
+LOG4CPLUS_LIBS="$LOG4CPLUS_LIBS -llog4cplus"
 
 AC_SUBST(LOG4CPLUS_LIBS)
 AC_SUBST(LOG4CPLUS_INCLUDES)