Changes in kernel/Makefile [1570759b:6c5fc8e] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile

    r1570759b 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         -pipe -target $(CLANG_TARGET)
     107        -pipe -arch $(CLANG_ARCH)
    110108
    111109ifeq ($(CONFIG_DEBUG),y)
     
    389387
    390388$(LINK): $(LINK).in $(DEPEND)
    391         $(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 "^\#" > $@
    392390
    393391%.o: %.S $(DEPEND)
Note: See TracChangeset for help on using the changeset viewer.