summaryrefslogtreecommitdiff
path: root/configs/sunos4-gcc
blob: 36a75497a06a042026fbbf005cc6f4996a4f68ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Configuration for SunOS 4, with gcc, shared libs

include $(TOP)/configs/default

CONFIG_NAME = sunos4-gcc

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

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