summaryrefslogtreecommitdiff
path: root/configs/linux-x86-static
diff options
context:
space:
mode:
Diffstat (limited to 'configs/linux-x86-static')
-rw-r--r--configs/linux-x86-static28
1 files changed, 28 insertions, 0 deletions
diff --git a/configs/linux-x86-static b/configs/linux-x86-static
new file mode 100644
index 0000000000..745ffb51c3
--- /dev/null
+++ b/configs/linux-x86-static
@@ -0,0 +1,28 @@
+# Configuration for Linux with x86 optimizations, static libs
+
+include $(TOP)/configs/default
+
+CONFIG_NAME = linux-x86-static
+
+# Compiler and flags
+CC = gcc
+CXX = g++
+
+CFLAGS = -Wall -O3 -ansi -pedantic -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 = -Wall -O3 -ansi -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
+
+GLUT_CFLAGS = -fexceptions
+
+MKLIB_OPTIONS = -static
+
+
+# Library names (actual file names)
+GL_LIB_NAME = libGL.a
+GLU_LIB_NAME = libGLU.a
+GLUT_LIB_NAME = libglut.a
+GLW_LIB_NAME = libGLw.a
+OSMESA_LIB_NAME = libOSMesa.a
+
+
+ASM_SOURCES = $(X86_SOURCES)