aboutsummaryrefslogtreecommitdiffstats
path: root/configs/linux-dri-x86
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-07-15 13:58:58 +0000
committerBrian Paul <[email protected]>2005-07-15 13:58:58 +0000
commit4eb3a0f076a0a15ae240decf3b6a2dc8995d5ccb (patch)
tree5732db01de52870f53f3f5aa8875fa0f6e8bcd43 /configs/linux-dri-x86
parent4c72778251ef41053f417dc26408070c22c852d9 (diff)
define CFLAGS and CXXflags with -m32 (Egbert Eich)
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 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)