treewide: opt-out of tree-wide mold usage
authorAndre Heider <a.heider@gmail.com>
Fri, 27 Jan 2023 17:22:43 +0000 (18:22 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 4 Jul 2023 18:25:41 +0000 (20:25 +0200)
These use linker scripts, which mold doesn't support.

Signed-off-by: Andre Heider <a.heider@gmail.com>
include/package.mk
package/boot/grub2/Makefile
package/kernel/lantiq/ltq-ifxos/Makefile
package/kernel/lantiq/ltq-vdsl-vr11-mei/Makefile
package/kernel/lantiq/ltq-vdsl-vr11/Makefile

index c391d320aa2c50e2e16bf29e4fd8f8a11f0925a0..1762080b9b0c1e83a23289269428d63d05e8ab09 100644 (file)
@@ -24,7 +24,7 @@ PKG_JOBS?=$(if $(PKG_BUILD_PARALLEL),$(MAKE_J),-j1)
 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
index 865feee9ad1bfbf2d039a285a4afce44ff1dd429..44dafe1ef10f99ac368ba4f371a5910603ce0ecd 100644 (file)
@@ -25,7 +25,7 @@ ifneq ($(BUILD_VARIANT),none)
 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
index d941a9d56ff200de52ad62cb592010c423d7180e..97f7ca78cebffa694cf2a5c4f629f7ccf7dde0dc 100644 (file)
@@ -23,6 +23,7 @@ PKG_LICENSE_FILES:=LICENSE
 PKG_EXTMOD_SUBDIRS:=src
 
 PKG_FIXUP:=autoreconf
+PKG_BUILD_FLAGS:=no-mold
 
 include $(INCLUDE_DIR)/package.mk
 
index f2dcf8db84d573db5035e144153289a800ec223a..7b8a948179b6409d02b55fb3d7418b2a117d25b8 100644 (file)
@@ -25,6 +25,7 @@ PKG_EXTMOD_SUBDIRS:=src
 
 PKG_FIXUP:=autoreconf
 PKG_FLAGS:=nonshared
+PKG_BUILD_FLAGS:=no-mold
 
 include $(INCLUDE_DIR)/package.mk
 
index 8284cba9a7f082d868c68811f5f4fe140d650180..11f96d744a4dafd131f34c597db519fb2d7bc135 100644 (file)
@@ -23,6 +23,7 @@ PKG_LICENSE:=GPL-2.0 BSD-2-Clause
 PKG_LICENSE_FILES:=LICENSE
 
 PKG_FIXUP:=autoreconf
+PKG_BUILD_FLAGS:=no-mold
 
 include $(INCLUDE_DIR)/package.mk