aboutsummaryrefslogtreecommitdiff
path: root/mesalib/configs/solaris-x86-gcc
blob: baa30648207a5b602657b65a066c951a93d5550b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Configuration for Solaris on x86 with gcc, dynamic libs

include $(TOP)/configs/default

CONFIG_NAME = solaris-x86-gcc

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -O3 -march=i486 -fPIC -I/usr/openwin/include -DUSE_XSHM
CXXFLAGS = -O3 -march=i486 -fPIC

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm