Changes in kernel/Makefile [2689a0b:9d58539] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile

    r2689a0b r9d58539  
    103103        -Werror-implicit-function-declaration -wd170
    104104
     105SUNCC_CFLAGS = -I$(INCLUDES) -xO$(OPTIMIZATION) \
     106        -xnolib -xc99=all -features=extensions \
     107        -erroff=E_ZERO_SIZED_STRUCT_UNION
     108
    105109CLANG_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    106110        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
     
    122126        GCC_CFLAGS += -g
    123127        ICC_CFLAGS += -g
     128        SUNCC_CFLAGS += -g
    124129        CLANG_CFLAGS += -g
    125130endif
     
    175180        CFLAGS = $(ICC_CFLAGS)
    176181        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
     182        INSTRUMENTATION =
     183endif
     184
     185ifeq ($(COMPILER),suncc)
     186        CFLAGS = $(SUNCC_CFLAGS)
     187        DEFS += $(CONFIG_DEFS)
     188        DEPEND_DEFS = $(DEFS)
    177189        INSTRUMENTATION =
    178190endif
Note: See TracChangeset for help on using the changeset viewer.