These use linker scripts, which mold doesn't support.
Signed-off-by: Andre Heider <a.heider@gmail.com>
endif
PKG_BUILD_FLAGS?=
-__unknown_flags=$(filter-out no-iremap no-mips16 gc-sections no-gc-sections lto no-lto,$(PKG_BUILD_FLAGS))
+__unknown_flags=$(filter-out no-iremap no-mips16 gc-sections no-gc-sections lto no-lto no-mold,$(PKG_BUILD_FLAGS))
ifneq ($(__unknown_flags),)
$(error unknown PKG_BUILD_FLAGS: $(__unknown_flags))
endif
endif
PKG_FLAGS:=nonshared
-PKG_BUILD_FLAGS:=no-lto
+PKG_BUILD_FLAGS:=no-lto no-mold
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
PKG_EXTMOD_SUBDIRS:=src
PKG_FIXUP:=autoreconf
+PKG_BUILD_FLAGS:=no-mold
include $(INCLUDE_DIR)/package.mk
PKG_FIXUP:=autoreconf
PKG_FLAGS:=nonshared
+PKG_BUILD_FLAGS:=no-mold
include $(INCLUDE_DIR)/package.mk
PKG_LICENSE_FILES:=LICENSE
PKG_FIXUP:=autoreconf
+PKG_BUILD_FLAGS:=no-mold
include $(INCLUDE_DIR)/package.mk