Changes in boot/Makefile.build [874ed210:3bf8a75] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile.build
r874ed210 r3bf8a75 36 36 DEFS = -DBOOT -DRELEASE=$(RELEASE) "-DCOPYRIGHT=$(COPYRIGHT)" "-DNAME=$(NAME)" -D__$(BITS)_BITS__ -D__$(ENDIANESS)__ 37 37 38 LDFLAGS = -Wl,--fatal-warnings,--warn-common $(EXTRA_LDFLAGS) 38 AFLAGS = --fatal-warnings 39 LDFLAGS = -Wl,--fatal-warnings,--warn-common 39 40 40 41 COMMON_CFLAGS = $(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ 41 42 -ffreestanding -nostdlib \ 42 43 -fexec-charset=UTF-8 -finput-charset=UTF-8 -fno-common \ 43 -fdebug-prefix-map=$(realpath $(ROOT_PATH))=. \ 44 -Wa,--fatal-warnings 44 -fdebug-prefix-map=$(realpath $(ROOT_PATH))=. 45 45 46 46 GCC_CFLAGS = -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \ … … 80 80 -include $(DEPENDS) 81 81 82 AS_CFLAGS := $(addprefix -Xassembler ,$(AFLAGS)) 83 82 84 $(BOOT_OUTPUT): $(RAW) 83 85 $(OBJCOPY) -O $(BFD_OUTPUT) $< $@ … … 90 92 91 93 %.o: %.s | depend 92 $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) 94 $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) $(AS_CFLAGS) 93 95 94 96 %.o: %.S | depend 95 $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) 97 $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) $(AS_CFLAGS) 96 98 97 99 %.o: %.c | depend
Note:
See TracChangeset
for help on using the changeset viewer.