19 lines
502 B
Plaintext
19 lines
502 B
Plaintext
# 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
|