Changes in uspace/Makefile.common [3c664d6:14f1db0] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r3c664d6 r14f1db0  
    9595LINKER_SCRIPT ?= $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld
    9696
    97 ifeq ($(CONFIG_OPTIMIZE_FOR_SIZE),y)
    98         OPTIMIZATION = s
    99 else
    100         OPTIMIZATION = 3
    101 endif
    102 
    10397.PHONY: all clean
    10498
     
    110104        find . -name '*.o' -follow -exec rm \{\} \;
    111105
     106OPTIMIZATION = 3
     107
    112108GCC_CFLAGS = -I$(LIBC_PREFIX)/include -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    113109        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
     
    115111        -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -Wmissing-prototypes \
    116112        -Werror-implicit-function-declaration -Wwrite-strings \
    117         -pipe -g -D__$(ENDIANESS)__
     113        -Werror -pipe -g -D__$(ENDIANESS)__
    118114
    119115ICC_CFLAGS = -I$(LIBC_PREFIX)/include -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
     
    122118        -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -Wmissing-prototypes \
    123119        -Werror-implicit-function-declaration -Wwrite-strings \
    124         -pipe -g -D__$(ENDIANESS)__
     120        -Werror -pipe -g -D__$(ENDIANESS)__
    125121
    126122CLANG_CFLAGS = -I$(LIBC_PREFIX)/include -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
     
    130126        -Werror-implicit-function-declaration -Wwrite-strings \
    131127        -pipe -g -arch $(CLANG_ARCH) -D__$(ENDIANESS)__
    132 
    133 ifeq ($(CONFIG_DEBUG),y)
    134         GCC_CFLAGS += -Werror
    135         ICC_CFLAGS += -Werror
    136 endif
    137128
    138129## Setup platform configuration
     
    176167$(BINARY): $(LINKER_SCRIPT) $(OBJECTS) $(LIBS) $(BASE_LIBS)
    177168        $(LD) -N $(LFLAGS) -T $(LINKER_SCRIPT) -M -Map $(BINARY).map -o $(BINARY) $(OBJECTS) $(LIBS) $(BASE_LIBS)
    178 ifeq ($(CONFIG_STRIP_BINARIES),y)
    179         $(STRIP) $(BINARY)
    180 endif
    181169endif
    182170
Note: See TracChangeset for help on using the changeset viewer.