Date: Fri, 7 Aug 2009 11:13:20 GMT From: Stanislav Sedov <stas@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 167086 for review Message-ID: <200908071113.n77BDK9o010433@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=167086 Change 167086 by stas@stas_deglitch on 2009/08/07 11:13:12 Fix 32-bit libraries built on amd64 platform. Affected files ... .. //depot/projects/valgrind/configure.in#10 edit Differences ... ==== //depot/projects/valgrind/configure.in#10 (text+ko) ==== @@ -392,6 +392,7 @@ VG_PLATFORM_PRI="AMD64_FREEBSD" VG_PLATFORM_SEC="X86_FREEBSD" fi + FLAG_32ON64="-B/usr/lib32" AC_MSG_RESULT([ok (${host_cpu}-${host_os})]) ;; *) @@ -877,13 +878,13 @@ AC_MSG_CHECKING([if gcc accepts -m32]) safe_CFLAGS=$CFLAGS -CFLAGS="-m32" +CFLAGS="${FLAG_32ON64} -m32" AC_TRY_COMPILE(, [ int main () { return 0 ; } ], [ -FLAG_M32="-m32" +FLAG_M32="${FLAG_32ON64} -m32" AC_MSG_RESULT([yes]) ], [ FLAG_M32=""
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908071113.n77BDK9o010433>