aboutsummaryrefslogtreecommitdiffstats
path: root/configs/aix-gcc
blob: 223e809b3c2872fb79ce7cd4ad08b3da20b8fd62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Configuration for AIX with gcc

include $(TOP)/configs/default

CONFIG_NAME = aix-gcc

# Compiler and flags
CC = gcc
CXX = g++

CFLAGS = -O2 -DAIXV3
CXXFLAGS = -O2 -DAIXV3

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

MKLIB_OPTIONS = -arch aix-gcc
GL_LIB_DEPS = -lX11 -lXext -lm
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -Wl,-brtl -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lX11 -lXext -lXmu -lXi