Changeset 1570759b in mainline for uspace/Makefile.common
- Timestamp:
- 2013-03-10T22:00:33Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 26bcc658
- Parents:
- 39ba6d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
r39ba6d5 r1570759b 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 -pipe -g -target $(CLANG_TARGET) -D__$(ENDIANESS)__ 206 208 207 209 LIB_CFLAGS = $(CFLAGS) -fPIC -D__IN_SHARED_LIBC__ … … 251 253 ifeq ($(COMPILER),clang) 252 254 CFLAGS += $(CLANG_CFLAGS) $(EXTRA_CFLAGS) 255 GCC_CFLAGS += $(EXTRA_CFLAGS) 253 256 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 254 257 endif … … 303 306 304 307 %.o: %.S $(DEPEND) 305 $( CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@308 $(GCC) $(DEFS) $(GCC_CFLAGS) -D__ASM__ -c $< -o $@ 306 309 ifeq ($(PRECHECK),y) 307 310 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
Note:
See TracChangeset
for help on using the changeset viewer.