Changes in boot/Makefile.build [bf85e56:d9faae91] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.build

    rbf85e56 rd9faae91  
    4747        -Werror-implicit-function-declaration -wd170
    4848
     49SUNCC_CFLAGS = -I$(INCLUDES) -xO$(OPTIMIZATION) \
     50        -xnolib -xc99=all -features=extensions \
     51        -erroff=E_ZERO_SIZED_STRUCT_UNION
     52
    4953CLANG_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    5054        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
     
    5256        -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
    5357        -Werror-implicit-function-declaration -Wwrite-strings \
    54         -pipe
     58        -pipe -arch $(CLANG_ARCH)
    5559
    5660ifeq ($(CONFIG_DEBUG),y)
     
    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.