aboutsummaryrefslogtreecommitdiff
path: root/mesalib/configs/ultrix-gcc
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/configs/ultrix-gcc')
-rw-r--r--mesalib/configs/ultrix-gcc25
1 files changed, 25 insertions, 0 deletions
diff --git a/mesalib/configs/ultrix-gcc b/mesalib/configs/ultrix-gcc
new file mode 100644
index 000000000..455b6932d
--- /dev/null
+++ b/mesalib/configs/ultrix-gcc
@@ -0,0 +1,25 @@
+# Configuration for Ultrix, with gcc
+
+include $(TOP)/configs/default
+
+CONFIG_NAME = ultrix-gcc
+
+# Compiler and flags
+CC = gcc
+CXX = g++
+CFLAGS = -pedantic -O2
+CXXFLAGS = -pedantic -O2
+GLUT_CFLAGS = -fexceptions
+MKLIB_OPTIONS = -static
+
+# Work around aliasing bugs - developers should comment this out
+CFLAGS += -fno-strict-aliasing
+CXXFLAGS += -fno-strict-aliasing
+
+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
+
+APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lXmu -lX11 -lXi -lm