Skip to content

Commit

Permalink
MT#61993 build: Do not query LDLIBS from dpkg-buildflags
Browse files Browse the repository at this point in the history
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
  • Loading branch information
guillemj committed Jan 28, 2025
1 parent 5cb1002 commit bb2bf3a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/lib.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb2bf3a

Please sign in to comment.