Mesa (master): automake: use -m32 in CCASFLAGS when using --enable-32-bit

Eric Anholt anholt at kemper.freedesktop.org
Fri Jun 1 23:26:42 UTC 2012


Module: Mesa
Branch: master
Commit: a9cfd95c248c7d111a76c9d61f158086b289552d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9cfd95c248c7d111a76c9d61f158086b289552d

Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Thu May 31 09:32:45 2012 +0300

automake: use -m32 in CCASFLAGS when using --enable-32-bit

this fixes libdricore directory build with --enable-32-bit on a x86_64 system

Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 527accc..fc1c28e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -271,6 +271,7 @@ if test "x$enable_32bit" = xyes; then
     if test "x$GCC" = xyes; then
         CFLAGS="$CFLAGS -m32"
         ARCH_FLAGS="$ARCH_FLAGS -m32"
+        CCASFLAGS="$CCASFLAGS -m32"
     fi
     if test "x$GXX" = xyes; then
         CXXFLAGS="$CXXFLAGS -m32"




More information about the mesa-commit mailing list