Added linux-x86-32 config to force building 32-bit objects in a 64-bit environment.
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 3 Mar 2005 01:44:42 +0000 (01:44 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 3 Mar 2005 01:44:42 +0000 (01:44 +0000)
Makefile
configs/linux-x86-32 [new file with mode: 0644]

index a099475481bb2c7f252a0da5256b360dc319449f..a7f52ab500157a5c7f4c7922b6fa88e316c3e658 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -105,6 +105,7 @@ linux-ultrasparc \
 linux-tcc \
 linux-x86 \
 linux-x86-debug \
+linux-x86-32 \
 linux-x86-64 \
 linux-x86-64-static \
 linux-x86-glide \
diff --git a/configs/linux-x86-32 b/configs/linux-x86-32
new file mode 100644 (file)
index 0000000..61a1474
--- /dev/null
@@ -0,0 +1,13 @@
+# To build Linux x86 32-bit in an x86-64 environment
+
+include $(TOP)/configs/linux-x86
+
+CONFIG_NAME = linux-x86-32
+
+
+# Other than -m32, these are the same as in linux-x86, which we included above.
+
+CFLAGS = -m32 -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include
+
+CXXFLAGS = -m32 -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
+