From 4eb3a0f076a0a15ae240decf3b6a2dc8995d5ccb Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 15 Jul 2005 13:58:58 +0000 Subject: [PATCH] define CFLAGS and CXXflags with -m32 (Egbert Eich) --- configs/linux-dri-x86 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configs/linux-dri-x86 b/configs/linux-dri-x86 index e7ce582946f..bf9ec71c6b5 100644 --- a/configs/linux-dri-x86 +++ b/configs/linux-dri-x86 @@ -10,3 +10,9 @@ PIC_FLAGS = ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM ASM_SOURCES = $(X86_SOURCES) + +# Add -m32 to CFLAGS +CFLAGS = -m32 $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \ + $(ASM_FLAGS) -std=c99 -ffast-math + +CXXFLAGS = -m32 $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) -- 2.30.2