Changes in uspace/Makefile.common [3c664d6:14f1db0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
r3c664d6 r14f1db0 95 95 LINKER_SCRIPT ?= $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld 96 96 97 ifeq ($(CONFIG_OPTIMIZE_FOR_SIZE),y)98 OPTIMIZATION = s99 else100 OPTIMIZATION = 3101 endif102 103 97 .PHONY: all clean 104 98 … … 110 104 find . -name '*.o' -follow -exec rm \{\} \; 111 105 106 OPTIMIZATION = 3 107 112 108 GCC_CFLAGS = -I$(LIBC_PREFIX)/include -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ 113 109 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ … … 115 111 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -Wmissing-prototypes \ 116 112 -Werror-implicit-function-declaration -Wwrite-strings \ 117 - pipe -g -D__$(ENDIANESS)__113 -Werror -pipe -g -D__$(ENDIANESS)__ 118 114 119 115 ICC_CFLAGS = -I$(LIBC_PREFIX)/include -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ … … 122 118 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -Wmissing-prototypes \ 123 119 -Werror-implicit-function-declaration -Wwrite-strings \ 124 - pipe -g -D__$(ENDIANESS)__120 -Werror -pipe -g -D__$(ENDIANESS)__ 125 121 126 122 CLANG_CFLAGS = -I$(LIBC_PREFIX)/include -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ … … 130 126 -Werror-implicit-function-declaration -Wwrite-strings \ 131 127 -pipe -g -arch $(CLANG_ARCH) -D__$(ENDIANESS)__ 132 133 ifeq ($(CONFIG_DEBUG),y)134 GCC_CFLAGS += -Werror135 ICC_CFLAGS += -Werror136 endif137 128 138 129 ## Setup platform configuration … … 176 167 $(BINARY): $(LINKER_SCRIPT) $(OBJECTS) $(LIBS) $(BASE_LIBS) 177 168 $(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 endif181 169 endif 182 170
Note:
See TracChangeset
for help on using the changeset viewer.