From b996cd610ed56da9c267a9c72356d7638648ed69 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 10 Mar 2025 12:00:51 +0100 Subject: bfin: fix compile and linking errors with gcc 14.2.0 ld.so must be compiled with -ffreestanding to avoid emits of memset/memcpy from gcc. Disable some extra warnings for Blackfin to avoid a compile error. --- Rules.mak | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 6c947858b..7cc56c0fd 100644 --- a/Rules.mak +++ b/Rules.mak @@ -668,6 +668,9 @@ endif ifeq ($(TARGET_ARCH),i386) CFLAGS += -fno-omit-frame-pointer endif +ifeq ($(TARGET_ARCH),bfin) +CFLAGS += -Wno-implicit-function-declaration +endif ifneq ($(strip $(UCLIBC_EXTRA_LDFLAGS)),"") LDFLAGS += $(call qstrip,$(UCLIBC_EXTRA_LDFLAGS)) endif -- cgit v1.2.3