aboutsummaryrefslogtreecommitdiffstats
path: root/configs/netbsd
blob: aec45695071b534c09a7b837c5fb1f11f29848e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Configuration for NetBSD

include $(TOP)/configs/default

CONFIG_NAME = netbsd

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -O2 -fPIC -DUSE_XSHM -I/usr/X11R6/include -DHZ=100
CXXFLAGS = -O2 -fPIC
GLUT_CFLAGS = -fexceptions
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm

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