summaryrefslogtreecommitdiff
path: root/configs/linux-dri-x86
diff options
context:
space:
mode:
Diffstat (limited to 'configs/linux-dri-x86')
-rw-r--r--configs/linux-dri-x866
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/linux-dri-x86 b/configs/linux-dri-x86
index e7ce582946..bf9ec71c6b 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)