Changeset 89ac5513 in mainline for uspace/Makefile.common
- Timestamp:
- 2013-06-23T19:54:53Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ddb1922
- Parents:
- 3abf0760 (diff), 96cbd18 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
r3abf0760 r89ac5513 171 171 OPTIMIZATION = s 172 172 else 173 OPTIMIZATION = 3173 OPTIMIZATION = 0 174 174 endif 175 175 … … 189 189 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -Wmissing-prototypes \ 190 190 -std=gnu99 -Werror-implicit-function-declaration -Wwrite-strings \ 191 -pipe -g -D__$(ENDIANESS)__191 -pipe -ggdb -D__$(ENDIANESS)__ 192 192 193 193 ICC_CFLAGS = $(LIBC_INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ … … 198 198 -pipe -g -D__$(ENDIANESS)__ 199 199 200 # clang does not support following options but I am not sure whether 201 # something won't break because of that: 202 # -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) -finput-charset=UTF-8 200 203 CLANG_CFLAGS = $(LIBC_INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ 201 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ 202 -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 204 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 203 205 -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \ 204 206 -Werror-implicit-function-declaration -Wwrite-strings \ 205 -pipe -g -arch $(CLANG_ARCH) -D__$(ENDIANESS)__ 207 -integrated-as \ 208 -pipe -g -target $(CLANG_TARGET) -D__$(ENDIANESS)__ 206 209 207 210 LIB_CFLAGS = $(CFLAGS) -fPIC -D__IN_SHARED_LIBC__ … … 251 254 ifeq ($(COMPILER),clang) 252 255 CFLAGS += $(CLANG_CFLAGS) $(EXTRA_CFLAGS) 256 GCC_CFLAGS += $(EXTRA_CFLAGS) 253 257 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 254 258 endif … … 303 307 304 308 %.o: %.S $(DEPEND) 305 $( CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@309 $(GCC) $(DEFS) $(GCC_CFLAGS) -D__ASM__ -c $< -o $@ 306 310 ifeq ($(PRECHECK),y) 307 311 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
Note:
See TracChangeset
for help on using the changeset viewer.