From bb2bf3a7026e7f7912dffa3ae8ea0e1ef3f29f31 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 28 Jan 2025 18:16:06 +0100 Subject: [PATCH] MT#61993 build: Do not query LDLIBS from dpkg-buildflags This variable is unknown to dpkg-buildflags. This also reduces the amount of global calls generated with GNU make 4.4 (which has a regression causing massive amounts of shell calls to be generated). Change-Id: Ia9d7099228bf5e181df4725939ed4f76f1e63dc9 --- lib/lib.Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/lib.Makefile b/lib/lib.Makefile index 8bc92e4f6..ddd2bb61d 100644 --- a/lib/lib.Makefile +++ b/lib/lib.Makefile @@ -68,7 +68,6 @@ ifneq ($(DBG),yes) CFLAGS+= $(shell dpkg-buildflags --get CFLAGS) CPPFLAGS+= $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS+= $(shell dpkg-buildflags --get LDFLAGS) - LDLIBS+= $(shell dpkg-buildflags --get LDLIBS) endif CFLAGS+=-O3 -flto=auto -ffat-lto-objects LDFLAGS+=-flto=auto