Changes in kernel/Makefile [4761f54:dd162f6] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile

    r4761f54 rdd162f6  
    8484COMMON_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    8585        -ffreestanding -fno-builtin -nostdlib -nostdinc \
    86         -fexec-charset=UTF-8 -finput-charset=UTF-8
     86        -fexec-charset=UTF-8 -finput-charset=UTF-8 -fno-common \
     87        -fdebug-prefix-map=$(realpath $(ROOT_PATH))=.
    8788
    8889GCC_CFLAGS = -std=gnu99 -Wall -Wextra -Wno-unused-parameter \
     
    112113#
    113114AFLAGS =
    114 LFLAGS = -n -T $(LINK) -M --fatal-warnings
     115LFLAGS = -n -T $(LINK) -M --fatal-warnings --warn-common
    115116
    116117# FIXME: This condition is a workaround for issues #693 and #694.
     
    458459        done
    459460
    460 depend: $(COMMON_HEADER_ARCH) $(AUTOGENS_H)
    461 
    462 $(COMMON_HEADER_ARCH): $(COMMON_HEADER)
    463         ln -sfn ../../../../$< $@
     461depend: $(AUTOGENS_H)
    464462
    465463autogen_clean:
Note: See TracChangeset for help on using the changeset viewer.