Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2453 → Rev 2454

/trunk/kernel/arch/amd64/Makefile.inc
35,7 → 35,9
TARGET = amd64-linux-gnu
TOOLCHAIN_DIR = /usr/local/amd64
 
CFLAGS += -fno-unwind-tables -m64 -mcmodel=kernel -mno-red-zone
GCC_CFLAGS += -fno-unwind-tables -m64 -mcmodel=kernel -mno-red-zone
SUNCC_CFLAGS += -m64 -xmodel=kernel
 
DEFS += -DMACHINE=$(MACHINE) -D__64_BITS__
 
## Accepted CPUs
42,7 → 44,7
#
 
ifeq ($(MACHINE),opteron)
CFLAGS += -march=opteron
GCC_CFLAGS += -march=opteron
DEFS += -DFENCES=p4
endif