Date: Sun, 12 Mar 2017 17:28:51 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r436008 - head/databases/leveldb/files Message-ID: <201703121728.v2CHSpTU064301@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Mar 12 17:28:51 2017 New Revision: 436008 URL: https://svnweb.freebsd.org/changeset/ports/436008 Log: Fix SSE 4.2 detection (on armv6) PR: 217575 Submitted by: Mikael Urankar <mikael.urankar@gmail.com> Added: head/databases/leveldb/files/patch-build_detect_platform (contents, props changed) Added: head/databases/leveldb/files/patch-build_detect_platform ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/leveldb/files/patch-build_detect_platform Sun Mar 12 17:28:51 2017 (r436008) @@ -0,0 +1,11 @@ +--- build_detect_platform.orig 2017-03-02 00:08:02 UTC ++++ build_detect_platform +@@ -224,7 +224,7 @@ EOF + rm -f $CXXOUTPUT 2>/dev/null + + # Test if gcc SSE 4.2 is supported +- $CXX $CXXFLAGS -x c++ - -o $CXXOUTPUT -msse4.2 2>/dev/null <<EOF ++ $CXX $CXXFLAGS -x c++ -Werror - -o $CXXOUTPUT -msse4.2 2>/dev/null <<EOF + int main() {} + EOF + if [ "$?" = 0 ]; then
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703121728.v2CHSpTU064301>