automake: use -m32 in CCASFLAGS when using --enable-32-bit
authorTapani Pälli <tapani.palli@intel.com>
Thu, 31 May 2012 06:32:45 +0000 (09:32 +0300)
committerEric Anholt <eric@anholt.net>
Fri, 1 Jun 2012 23:25:39 +0000 (16:25 -0700)
this fixes libdricore directory build with --enable-32-bit on a x86_64 system

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

index 527accca52201422c3bb31d8b22231073ce7692d..fc1c28eb2444078bae43776569ee31346f2bcd73 100644 (file)
@@ -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"