diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2021-03-12 10:24:44 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-03-17 08:04:06 +0000 |
commit | 8e15e91dc4f397371c5ce04a4945945468059953 (patch) | |
tree | a07ecc026dfeba6f1b926dbed1560766a9e1fda2 /Makefile.inc | |
parent | 4cc42752fef757b605ae72442e7fb6cba7d53570 (diff) | |
download | coreboot-8e15e91dc4f397371c5ce04a4945945468059953.tar.gz |
Makefile.inc: Don't compile bare structs with asan-global=1
This messes up the bare structs.
Change-Id: I5a13bd9f4b11530a6dd5f572059fed851db44757
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51436
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc index f46de4615f..df41c5d55e 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -335,7 +335,7 @@ endef cbfs-files-processor-struct= \ $(eval $(2): $(1) $(obj)/build.h $(KCONFIG_AUTOHEADER); \ printf " CC+STRIP $(1)\n"; \ - $(CC_ramstage) -MMD $(CPPFLAGS_ramstage) $(CFLAGS_ramstage) $$(ramstage-c-ccopts) -include $(KCONFIG_AUTOHEADER) -MT $(2) -o $(2).tmp -c $(1) && \ + $(CC_ramstage) -MMD $(CPPFLAGS_ramstage) $(CFLAGS_ramstage) --param asan-globals=0 $$(ramstage-c-ccopts) -include $(KCONFIG_AUTOHEADER) -MT $(2) -o $(2).tmp -c $(1) && \ $(OBJCOPY_ramstage) -O binary --set-section-flags .bss*=alloc,contents,load $(2).tmp $(2); \ rm -f $(2).tmp) \ $(eval DEPENDENCIES += $(2).d) |