Add an autoconf option for mangling Mesa.
[mesa.git] / configs / solaris-x86-gcc
1 # Configuration for Solaris on x86 with gcc, dynamic libs
2
3 include $(TOP)/configs/default
4
5 CONFIG_NAME = solaris-x86-gcc
6
7 # Compiler and flags
8 CC = gcc
9 CXX = g++
10 CFLAGS = -O3 -march=i486 -fPIC -I/usr/openwin/include -DUSE_XSHM
11 CXXFLAGS = -O3 -march=i486 -fPIC
12
13 # Work around aliasing bugs - developers should comment this out
14 CFLAGS += -fno-strict-aliasing
15 CXXFLAGS += -fno-strict-aliasing
16
17 GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread
18 GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm