From: Brian Paul Date: Thu, 3 Mar 2005 01:44:42 +0000 (+0000) Subject: Added linux-x86-32 config to force building 32-bit objects in a 64-bit environment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7644bfb536c1cdb6dd3223469f1d6d2f1d5146c8;p=mesa.git Added linux-x86-32 config to force building 32-bit objects in a 64-bit environment. --- 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 +