Browse Source

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
pull/1910/head
Guillem Jover 11 months ago
parent
commit
bb2bf3a702
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      lib/lib.Makefile

+ 0
- 1
lib/lib.Makefile View File

@ -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


Loading…
Cancel
Save