From: Brian Paul Date: Fri, 15 Jul 2005 13:58:58 +0000 (+0000) Subject: define CFLAGS and CXXflags with -m32 (Egbert Eich) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4eb3a0f076a0a15ae240decf3b6a2dc8995d5ccb;p=mesa.git define CFLAGS and CXXflags with -m32 (Egbert Eich) --- 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)