Changeset 52d30c4 in mainline for kernel/arch/amd64/Makefile.inc


Ignore:
Timestamp:
2007-06-05T21:24:40Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4a8635b
Parents:
92d349c8
Message:

A bit of infrastructure for building with different compilers.
CFLAGS split into GCC_CFLAGS and SUNCC_CFLAGS.
As of now, there are no separate ICC_CFLAGS, but can be easily added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/Makefile.inc

    r92d349c8 r52d30c4  
    3636TOOLCHAIN_DIR = /usr/local/amd64
    3737
    38 CFLAGS += -fno-unwind-tables -m64 -mcmodel=kernel -mno-red-zone
     38GCC_CFLAGS += -fno-unwind-tables -m64 -mcmodel=kernel -mno-red-zone
     39SUNCC_CFLAGS += -m64 -xmodel=kernel
     40
    3941DEFS += -DMACHINE=$(MACHINE) -D__64_BITS__
    4042
     
    4345
    4446ifeq ($(MACHINE),opteron)
    45         CFLAGS += -march=opteron
     47        GCC_CFLAGS += -march=opteron   
    4648        DEFS += -DFENCES=p4
    4749endif
Note: See TracChangeset for help on using the changeset viewer.