Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1061 → Rev 1073

/shark/trunk/oslib/config.mk
40,11 → 40,19
CFG_OPT += -D__OLD_TRACER__
endif
 
ifeq ($(findstring GCC4,$(COMPILER)) , GCC4)
# this options are for newer gcc4 compilers
C_OPT = -Wall -O -fno-builtin -nostdinc -Wno-attributes -Wno-pointer-sign -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ -I$(INCL)
# in case of problems with older gcc versions, please
# comment the previous line and uncomment the following line
# C_OPT = -Wall -O -fno-builtin -nostdinc -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ -I$(INCL)
endif
 
ifeq ($(findstring GCC3,$(COMPILER)) , GCC3)
C_OPT = -Wall -O -fno-builtin -nostdinc -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ -I$(INCL)
endif
 
ifeq ($(findstring DJGPP,$(COMPILER)) , DJGPP)
C_OPT = -Wall -O -fno-builtin -nostdinc -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ -I$(INCL)
endif
 
ASM_OPT = -x assembler-with-cpp $(CFG_OPT) -I$(INCL)
LINK_OPT = -Bstatic -Ttext $(MEM_START) -s -nostartfiles -nostdlib -L$(LIB_PATH)