blob: 067c22bc823372456e9e263275c45445d216f37f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# defaults
CC = gcc
LEX = flex
BISON = bison
CFLAGS = -pipe -g -O2
# 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
|