summaryrefslogtreecommitdiff
path: root/make.defs
blob: debf3aabc877008e35a945f092772a764ff751ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# defaults
CC = gcc
BISON = bison
CFLAGS = -pipe -g @warnings

# works on both x86 and x86_64
override CC += -m32 -std=gnu99

# TODO check if this is actually needed - I don't think it should be
ifeq ($(findstring CYGWIN,$(shell uname)), CYGWIN)
  override CFLAGS += -DFD_SETSIZE=4096 -DCYGWIN
else
  override CFLAGS += -fstack-protector
endif