summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTapani Pälli <tapani.palli@intel.com>2012-05-31 09:32:45 +0300
committerEric Anholt <eric@anholt.net>2012-06-01 16:25:39 -0700
commita9cfd95c248c7d111a76c9d61f158086b289552d (patch)
tree25ca8a777785970e7e6571ac09ee1e47fa7e1d8f
parent0ebf2318b3d5e60adfc43e477b19acdc3cd4cc07 (diff)
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@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 527accca522..fc1c28eb244 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"