aboutsummaryrefslogtreecommitdiff
path: root/mesalib/configs/hpux10-gcc
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/configs/hpux10-gcc')
-rw-r--r--mesalib/configs/hpux10-gcc20
1 files changed, 20 insertions, 0 deletions
diff --git a/mesalib/configs/hpux10-gcc b/mesalib/configs/hpux10-gcc
new file mode 100644
index 000000000..be396f854
--- /dev/null
+++ b/mesalib/configs/hpux10-gcc
@@ -0,0 +1,20 @@
+# Configuration for HPUX v10, with gcc
+
+include $(TOP)/configs/default
+
+CONFIG_NAME = hpux10-gcc
+
+# Compiler and flags
+CC = gcc
+CXX = g++
+
+CFLAGS = -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
+CXXFLAGS = -ansi -O3 -D_HPUX_SOURCE
+GLUT_CFLAGS = -fexceptions
+
+# Work around aliasing bugs - developers should comment this out
+CFLAGS += -fno-strict-aliasing
+CXXFLAGS += -fno-strict-aliasing
+
+APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
+