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






                                                
 

                              
 

                                                  
    
                                                        
     
# defaults
CC = gcc
CFLAGS = -pipe -g -fno-strict-aliasing -O2 -Wall
CP = cp -f
# The below might cause problems sometimes
# CP = cp -lf
# CP = cp -sf

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

ifeq ($(findstring CYGWIN,$(shell uname)), CYGWIN)
  override CFLAGS += -DFD_SETSIZE=4096 -DCYGWIN
else
  override CFLAGS += -fstack-protector -Wno-pointer-sign
endif