define CFLAGS and CXXflags with -m32 (Egbert Eich)
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Jul 2005 13:58:58 +0000 (13:58 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Jul 2005 13:58:58 +0000 (13:58 +0000)
configs/linux-dri-x86

index e7ce582946fd994f9377a059aac80eb6301b8bfa..bf9ec71c6b5a390d90924fb9bb225382195601b1 100644 (file)
@@ -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)