Changes in boot/Makefile.build [9ded977:4872160] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.build

    r9ded977 r4872160  
    4141        -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
    4242        -Werror-implicit-function-declaration -Wwrite-strings \
    43         -pipe
     43        -Werror -pipe
    4444
    4545ICC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    4646        -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wmissing-prototypes \
    47         -Werror-implicit-function-declaration -wd170
     47        -Werror-implicit-function-declaration -Werror -wd170
    4848
    4949SUNCC_CFLAGS = -I$(INCLUDES) -xO$(OPTIMIZATION) \
     
    5757        -Werror-implicit-function-declaration -Wwrite-strings \
    5858        -pipe -arch $(CLANG_ARCH)
    59 
    60 ifeq ($(CONFIG_DEBUG),y)
    61         GCC_CFLAGS += -Werror
    62         ICC_CFLAGS += -Werror
    63 endif
    64 
    65 ifeq ($(CONFIG_LINE_DEBUG),y)
    66         GCC_CFLAGS += -g
    67         ICC_CFLAGS += -g
    68         SUNCC_CFLAGS += -g
    69         CLANG_CFLAGS += -g
    70 endif
    7159
    7260ifeq ($(COMPILER),gcc_native)
     
    113101        $(LD) -N $(LFLAGS) -T $(LINK) -M -Map $(MAP) -o $@ $(COMPONENT_OBJECTS) $(OBJECTS)
    114102
    115 $(LINK): $(LINK).comp $(DEPEND)
    116         $(GCC) $(DEFS) $(GCC_CFLAGS) -D__ASM__ -D__LINKER__ -E -x c $(LINK).comp | grep -v "^\#" > $(LINK)
    117 
    118103%.o: %.S $(DEPEND)
    119104        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
Note: See TracChangeset for help on using the changeset viewer.