Changes in boot/Makefile.build [2689a0b:e8c5c11] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.build

    r2689a0b re8c5c11  
    3434OPTIMIZATION = 3
    3535
    36 DEFS = -DRELEASE=$(RELEASE) "-DCOPYRIGHT=$(COPYRIGHT)" "-DNAME=$(NAME)" -D__$(BITS)_BITS__ -D__$(ENDIANESS)__
     36DEFS = -DRELEASE=$(RELEASE) "-DNAME=$(NAME)" -D__$(BITS)_BITS__ -D__$(ENDIANESS)__
    3737
    3838GCC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
     
    4646        -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wmissing-prototypes \
    4747        -Werror-implicit-function-declaration -wd170
     48
     49SUNCC_CFLAGS = -I$(INCLUDES) -xO$(OPTIMIZATION) \
     50        -xnolib -xc99=all -features=extensions \
     51        -erroff=E_ZERO_SIZED_STRUCT_UNION
    4852
    4953CLANG_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
     
    6266        GCC_CFLAGS += -g
    6367        ICC_CFLAGS += -g
     68        SUNCC_CFLAGS += -g
    6469        CLANG_CFLAGS += -g
    6570endif
     
    7883        CFLAGS = $(ICC_CFLAGS) $(EXTRA_CFLAGS)
    7984        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
     85endif
     86
     87ifeq ($(COMPILER),suncc)
     88        CFLAGS = $(SUNCC_CFLAGS) $(EXTRA_CFLAGS)
     89        DEFS += $(CONFIG_DEFS)
     90        DEPEND_DEFS = $(DEFS)
    8091endif
    8192
Note: See TracChangeset for help on using the changeset viewer.