mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/Makefile.in: set -fno-dwarf2-cfi-asm for m68k_cf
Another package (libsquish) is affected by the "Internal error in emit_expr_encoded at dw2gencfi.c:215". This error already affects 5 packages and is due to binutils, see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509 No report has been made to binutils yet however as suggested by Yann during review of woff2 workaround (https://patchwork.ozlabs.org/patch/911344/), remove the workarounds from all these packages and put it in package/Makefile.in Fixes: http://autobuild.buildroot.org/results/77e06c092f4e7804dc166e259b25e779e5f1e83a Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
aa178bd659
commit
57ee0f74ec
@@ -163,6 +163,12 @@ TARGET_CFLAGS = $(TARGET_CPPFLAGS) $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET
|
||||
TARGET_CXXFLAGS = $(TARGET_CFLAGS)
|
||||
TARGET_FCFLAGS = $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
|
||||
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509
|
||||
ifeq ($(BR2_m68k_cf),y)
|
||||
TARGET_CFLAGS += -fno-dwarf2-cfi-asm
|
||||
TARGET_CXXFLAGS += -fno-dwarf2-cfi-asm
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_BINFMT_FLAT),y)
|
||||
TARGET_CFLAGS += $(if $($(PKG)_FLAT_STACKSIZE),-Wl$(comma)-elf2flt=-s$($(PKG)_FLAT_STACKSIZE),\
|
||||
-Wl$(comma)-elf2flt)
|
||||
|
||||
Reference in New Issue
Block a user