summaryrefslogblamecommitdiff
path: root/make.defs
blob: 0db7c735a5e473e9ba43e02bfc15c41040862bb9 (plain) (tree)
1
2
3
4
5
6
7
8
9

          
             
                     
 
                              
                              
 
                                                                    

                                                  
    
                                      
     
 
# defaults
CC = gcc
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