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


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.build

    r4872160 re805e2f  
    4141        -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
    4242        -Werror-implicit-function-declaration -Wwrite-strings \
    43         -Werror -pipe
     43        -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 -Werror -wd170
     47        -Werror-implicit-function-declaration -wd170
    4848
    4949SUNCC_CFLAGS = -I$(INCLUDES) -xO$(OPTIMIZATION) \
     
    5757        -Werror-implicit-function-declaration -Wwrite-strings \
    5858        -pipe -arch $(CLANG_ARCH)
     59
     60ifeq ($(CONFIG_DEBUG),y)
     61        GCC_CFLAGS += -Werror
     62        ICC_CFLAGS += -Werror
     63endif
    5964
    6065ifeq ($(COMPILER),gcc_native)
Note: See TracChangeset for help on using the changeset viewer.