Changeset 874ed210 in mainline for uspace/Makefile.common
- Timestamp:
- 2019-06-24T16:13:58Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 59d8235
- Parents:
- d86393c8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
rd86393c8 r874ed210 109 109 START_FILES = $(LIBC_PREFIX)/crt0.o $(LIBC_PREFIX)/crt1.o 110 110 111 AFLAGS = --fatal-warnings112 111 LDFLAGS = -Wl,--fatal-warnings,--warn-common 113 112 … … 194 193 -Werror-implicit-function-declaration \ 195 194 -Wsystem-headers \ 196 -Wunknown-pragmas 195 -Wunknown-pragmas \ 196 -Wa,--fatal-warnings 197 197 198 198 # XXX: -fno-builtin-strftime is for a seemingly spurious format warning. … … 299 299 LIB_LDFLAGS = $(LDFLAGS) -shared -Wl,-soname,$(LSONAME) -Wl,--no-undefined,--no-allow-shlib-undefined 300 300 301 AS_CFLAGS := $(addprefix -Xassembler ,$(AFLAGS))302 303 301 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 304 302 LOBJECTS := $(addsuffix .lo,$(basename $(SOURCES))) … … 386 384 387 385 %.o: %.S | depend 388 $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) $(EXTRA_CFLAGS) $(AS_CFLAGS)386 $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) $(EXTRA_CFLAGS) 389 387 390 388 %.o: %.s | depend 391 $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) $(EXTRA_CFLAGS) $(AS_CFLAGS)389 $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) $(EXTRA_CFLAGS) 392 390 393 391 %.o: %.c | depend … … 407 405 408 406 %.lo: %.S | depend 409 $(CC_JOB) -c -MD -MP $(DEFS) $(LIB_CFLAGS) $(EXTRA_CFLAGS) $(AS_CFLAGS)407 $(CC_JOB) -c -MD -MP $(DEFS) $(LIB_CFLAGS) $(EXTRA_CFLAGS) 410 408 411 409 %.lo: %.s | depend 412 $(CC_JOB) -c -MD -MP $(DEFS) $(LIB_CFLAGS) $(EXTRA_CFLAGS) $(AS_CFLAGS)410 $(CC_JOB) -c -MD -MP $(DEFS) $(LIB_CFLAGS) $(EXTRA_CFLAGS) 413 411 414 412 %.lo: %.c | depend
Note:
See TracChangeset
for help on using the changeset viewer.