Changeset dd0c8a0 in mainline for uspace/Makefile.common
- Timestamp:
- 2013-09-29T06:56:33Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a9bd960d
- Parents:
- 3deb0155 (diff), 13be2583 (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
r3deb0155 rdd0c8a0 131 131 132 132 LIBDRV_PREFIX = $(LIB_PREFIX)/drv 133 LIBHOUND_PREFIX = $(LIB_PREFIX)/hound 134 LIBPCM_PREFIX = $(LIB_PREFIX)/pcm 133 135 LIBNET_PREFIX = $(LIB_PREFIX)/net 134 136 LIBNIC_PREFIX = $(LIB_PREFIX)/nic … … 138 140 139 141 LIBBITHENGE_PREFIX = $(LIB_PREFIX)/bithenge 142 143 LIBHTTP_PREFIX = $(LIB_PREFIX)/http 144 LIBURI_PREFIX = $(LIB_PREFIX)/uri 140 145 141 146 ifeq ($(STATIC_NEEDED),y) … … 189 194 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -Wmissing-prototypes \ 190 195 -std=gnu99 -Werror-implicit-function-declaration -Wwrite-strings \ 191 -pipe -g -D__$(ENDIANESS)__196 -pipe -ggdb -D__$(ENDIANESS)__ 192 197 193 198 ICC_CFLAGS = $(LIBC_INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ … … 198 203 -pipe -g -D__$(ENDIANESS)__ 199 204 205 # clang does not support following options but I am not sure whether 206 # something won't break because of that: 207 # -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) -finput-charset=UTF-8 200 208 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 \ 209 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 203 210 -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \ 204 211 -Werror-implicit-function-declaration -Wwrite-strings \ 205 -pipe -g -arch $(CLANG_ARCH) -D__$(ENDIANESS)__ 212 -integrated-as \ 213 -pipe -g -target $(CLANG_TARGET) -D__$(ENDIANESS)__ 206 214 207 215 LIB_CFLAGS = $(CFLAGS) -fPIC -D__IN_SHARED_LIBC__ … … 219 227 endif 220 228 221 ## Setup platform configuration 222 # 223 224 -include $(LIBC_PREFIX)/arch/$(UARCH)/Makefile.common 225 226 ## Compilation options 227 # 228 229 JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py 230 229 # Prepare for POSIX before including platform specific stuff 231 230 ifeq ($(POSIX_COMPAT),y) 232 231 CFLAGS = -I$(LIBPOSIX_PREFIX)/include/posix -I$(LIBPOSIX_PREFIX)/include/ 233 LIBS += $(LIBPOSIX_PREFIX)/libposix.a 234 endif 232 BASE_LIBS = $(LIBPOSIX_PREFIX)/libposixaslibc.a $(LIBPOSIX_PREFIX)/libc4posix.a $(LIBSOFTINT_PREFIX)/libsoftint.a 233 endif 234 235 ## Setup platform configuration 236 # 237 238 -include $(LIBC_PREFIX)/arch/$(UARCH)/Makefile.common 239 240 ## Compilation options 241 # 242 243 JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py 235 244 236 245 ifeq ($(COMPILER),gcc_cross) … … 251 260 ifeq ($(COMPILER),clang) 252 261 CFLAGS += $(CLANG_CFLAGS) $(EXTRA_CFLAGS) 262 GCC_CFLAGS += $(EXTRA_CFLAGS) 253 263 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 254 264 endif … … 303 313 304 314 %.o: %.S $(DEPEND) 305 $( CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@315 $(GCC) $(DEFS) $(GCC_CFLAGS) -D__ASM__ -c $< -o $@ 306 316 ifeq ($(PRECHECK),y) 307 317 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
Note:
See TracChangeset
for help on using the changeset viewer.