From 7644bfb536c1cdb6dd3223469f1d6d2f1d5146c8 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 3 Mar 2005 01:44:42 +0000 Subject: [PATCH] Added linux-x86-32 config to force building 32-bit objects in a 64-bit environment. --- Makefile | 1 + configs/linux-x86-32 | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 configs/linux-x86-32 diff --git a/Makefile b/Makefile index a099475481b..a7f52ab5001 100644 --- 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 index 00000000000..61a147466bf --- /dev/null +++ b/configs/linux-x86-32 @@ -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 + -- 2.30.2