summaryrefslogtreecommitdiff
path: root/make.defs
blob: 3792ad2a70723a73af12cb0102910d1756515ba1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# vim: filetype=make
#
# defaults
CXX = g++

LEX = flex
BISON = bison
CXXFLAGS = -pipe -g -O2 ${WARNINGS}
WARNINGS = -include src/warnings.hpp

# works on both x86 and x86_64
override CXX += -m32 -std=c++0x
# for linking
override CC = ${CXX}

override CXXFLAGS += -fstack-protector -fno-strict-aliasing