Changeset 44bec47 in mainline for kernel/arch/amd64/Makefile.inc


Ignore:
Timestamp:
2007-06-06T20:00:13Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3ee8a075
Parents:
99373fe
Message:

Better infrastructure for building with different compilers.
Separate ICC_CFLAGS added, SUNCC_CFLAGS extended.

File:
1 edited

Legend:

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

    r99373fe r44bec47  
    3636TOOLCHAIN_DIR = /usr/local/amd64
    3737
    38 GCC_CFLAGS += -fno-unwind-tables -m64 -mcmodel=kernel -mno-red-zone
     38CMN1 = -m64 -mcmodel=kernel -mno-red-zone -fno-unwind-tables
     39GCC_CFLAGS += $(CMN1)
     40ICC_CFLAGS += $(CMN1)
    3941SUNCC_CFLAGS += -m64 -xmodel=kernel
    4042
     
    4547
    4648ifeq ($(MACHINE),opteron)
    47         GCC_CFLAGS += -march=opteron   
     49        CMN2 := -march=opteron
     50        GCC_CFLAGS += $(CMN2)
     51        ICC_CFLAGS += $(CMN2)
     52        SUNCC_CFLAGS += -xtarget=opteron
    4853        DEFS += -DFENCES=p4
    4954endif
Note: See TracChangeset for help on using the changeset viewer.