Changeset e805e2f in mainline for uspace/Makefile.common


Ignore:
Timestamp:
2010-05-26T14:59:49Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
938f227
Parents:
ffe4a87
Message:

use -Werror only in debug builds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    rffe4a87 re805e2f  
    115115        -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -Wmissing-prototypes \
    116116        -Werror-implicit-function-declaration -Wwrite-strings \
    117         -Werror -pipe -g -D__$(ENDIANESS)__
     117        -pipe -g -D__$(ENDIANESS)__
    118118
    119119ICC_CFLAGS = -I$(LIBC_PREFIX)/include -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
     
    122122        -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -Wmissing-prototypes \
    123123        -Werror-implicit-function-declaration -Wwrite-strings \
    124         -Werror -pipe -g -D__$(ENDIANESS)__
     124        -pipe -g -D__$(ENDIANESS)__
    125125
    126126CLANG_CFLAGS = -I$(LIBC_PREFIX)/include -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
     
    131131        -pipe -g -arch $(CLANG_ARCH) -D__$(ENDIANESS)__
    132132
     133ifeq ($(CONFIG_DEBUG),y)
     134        GCC_CFLAGS += -Werror
     135        ICC_CFLAGS += -Werror
     136endif
     137
    133138## Setup platform configuration
    134139#
Note: See TracChangeset for help on using the changeset viewer.