[Box Backup-commit] COMMIT r3533 - box/trunk/qdbm

subversion at boxbackup.org subversion at boxbackup.org
Wed Feb 25 22:04:10 GMT 2015


Author: chris
Date: 2015-02-25 22:04:09 +0000 (Wed, 25 Feb 2015)
New Revision: 3533

Modified:
   box/trunk/qdbm/configure.in
Log:
Fix compile with clang on platforms other than FreeBSD.


Modified: box/trunk/qdbm/configure.in
===================================================================
--- box/trunk/qdbm/configure.in	2015-02-25 21:20:02 UTC (rev 3532)
+++ box/trunk/qdbm/configure.in	2015-02-25 22:04:09 UTC (rev 3533)
@@ -179,7 +179,7 @@
   MYOPTS="-minline-all-stringops"
 fi
 
-if uname | egrep -iq 'FreeBSD' && cc -v 2>&1 | egrep -iq ' clang '; then
+if $CC -v 2>&1 | egrep -iq ' clang '; then
   MYOPTS="-O1 -fno-omit-frame-pointer"
 elif uname | egrep -iq 'SunOS' || \
 	uname | egrep -iq 'BSD' || \




More information about the Boxbackup-commit mailing list