Changeset 03c971f in mainline for uspace/Makefile.common
- Timestamp:
- 2013-08-15T14:20:16Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bb2a5b2
- Parents:
- f2c19b0 (diff), 2921602 (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
-
uspace/Makefile.common (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
rf2c19b0 r03c971f 191 191 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -Wmissing-prototypes \ 192 192 -std=gnu99 -Werror-implicit-function-declaration -Wwrite-strings \ 193 -pipe -g -D__$(ENDIANESS)__193 -pipe -ggdb -D__$(ENDIANESS)__ 194 194 195 195 ICC_CFLAGS = $(LIBC_INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ … … 200 200 -pipe -g -D__$(ENDIANESS)__ 201 201 202 # clang does not support following options but I am not sure whether 203 # something won't break because of that: 204 # -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) -finput-charset=UTF-8 202 205 CLANG_CFLAGS = $(LIBC_INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ 203 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ 204 -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 206 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 205 207 -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \ 206 208 -Werror-implicit-function-declaration -Wwrite-strings \ 207 -pipe -g -arch $(CLANG_ARCH) -D__$(ENDIANESS)__ 209 -integrated-as \ 210 -pipe -g -target $(CLANG_TARGET) -D__$(ENDIANESS)__ 208 211 209 212 LIB_CFLAGS = $(CFLAGS) -fPIC -D__IN_SHARED_LIBC__ … … 221 224 endif 222 225 223 ## Setup platform configuration 224 # 225 226 -include $(LIBC_PREFIX)/arch/$(UARCH)/Makefile.common 227 228 ## Compilation options 229 # 230 231 JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py 232 226 # Prepare for POSIX before including platform specific stuff 233 227 ifeq ($(POSIX_COMPAT),y) 234 228 CFLAGS = -I$(LIBPOSIX_PREFIX)/include/posix -I$(LIBPOSIX_PREFIX)/include/ 235 LIBS += $(LIBPOSIX_PREFIX)/libposix.a 236 endif 229 BASE_LIBS = $(LIBPOSIX_PREFIX)/libposixaslibc.a $(LIBPOSIX_PREFIX)/libc4posix.a $(LIBSOFTINT_PREFIX)/libsoftint.a 230 endif 231 232 ## Setup platform configuration 233 # 234 235 -include $(LIBC_PREFIX)/arch/$(UARCH)/Makefile.common 236 237 ## Compilation options 238 # 239 240 JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py 237 241 238 242 ifeq ($(COMPILER),gcc_cross) … … 253 257 ifeq ($(COMPILER),clang) 254 258 CFLAGS += $(CLANG_CFLAGS) $(EXTRA_CFLAGS) 259 GCC_CFLAGS += $(EXTRA_CFLAGS) 255 260 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 256 261 endif … … 310 315 311 316 %.o: %.S $(DEPEND) 312 $( CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@317 $(GCC) $(DEFS) $(GCC_CFLAGS) -D__ASM__ -c $< -o $@ 313 318 ifeq ($(PRECHECK),y) 314 319 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
Note:
See TracChangeset
for help on using the changeset viewer.
