Changes in kernel/Makefile [b92a0ee:6c5fc8e] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile

    rb92a0ee r6c5fc8e  
    100100        -Werror-implicit-function-declaration -wd170
    101101
    102 # clang does not support following options but I am not sure whether
    103 # something won't break because of that:
    104 # -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) -finput-charset=UTF-8
    105102CLANG_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    106         -ffreestanding -fno-builtin -nostdlib -nostdinc \
     103        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
     104        -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \
    107105        -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
    108106        -Werror-implicit-function-declaration -Wwrite-strings \
    109         -integrated-as \
    110         -pipe -target $(CLANG_TARGET)
     107        -pipe -arch $(CLANG_ARCH)
    111108
    112109ifeq ($(CONFIG_DEBUG),y)
     
    390387
    391388$(LINK): $(LINK).in $(DEPEND)
    392         $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -D__LINKER__ -E -x c $< | grep -v "^\#" > $@
     389        $(GCC) $(DEFS) $(GCC_CFLAGS) -D__ASM__ -D__LINKER__ -E -x c $< | grep -v "^\#" > $@
    393390
    394391%.o: %.S $(DEPEND)
Note: See TracChangeset for help on using the changeset viewer.