patches: add coreboot toolchain 4.16 compatibility
Warnings stuff, Ada stuff, etc.master
parent
1310a397d1
commit
634f5081b6
@ -0,0 +1,22 @@
|
|||||||
|
diff --git c/Makefile.inc i/Makefile.inc
|
||||||
|
index b25ac6b426..73df96d31c 100644
|
||||||
|
--- c/Makefile.inc
|
||||||
|
+++ i/Makefile.inc
|
||||||
|
@@ -439,14 +439,14 @@ ADAFLAGS_common += -ffunction-sections -fdata-sections
|
||||||
|
# .Y Disable information messages for why package spec needs body:
|
||||||
|
# Those messages are annoying. But don't forget to enable those,
|
||||||
|
# if you need the information.
|
||||||
|
-ADAFLAGS_common += -gnatwa.eeD.HHTU.U.W.Y
|
||||||
|
+ADAFLAGS_common += -gnatwa.eeD.HHTU.U.W.Y -gnatwR
|
||||||
|
# Disable style checks for now
|
||||||
|
ADAFLAGS_common += -gnatyN
|
||||||
|
|
||||||
|
-LDFLAGS_common := --gc-sections -nostdlib -nostartfiles -static --emit-relocs
|
||||||
|
+LDFLAGS_common := --gc-sections -nostdlib --nmagic -static --emit-relocs
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_WARNINGS_ARE_ERRORS),y)
|
||||||
|
-CFLAGS_common += -Werror
|
||||||
|
+CFLAGS_common += -Werror -Wno-address-of-packed-member
|
||||||
|
endif
|
||||||
|
ifneq ($(GDB_DEBUG),)
|
||||||
|
CFLAGS_common += -Og
|
Loading…
Reference in New Issue