Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config.mk: fix adns build with glibc >= 2.35 #2986

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
config.mk: fix adns build with glibc >= 2.35
libanl is not built since glibc 2.35 and
bminor/glibc@737e873
resulting in the following build failure:

/home/autobuild/autobuild/instance-15/output-1/host/lib/gcc/or1k-buildroot-linux-gnu/12.3.0/../../../../or1k-buildroot-linux-gnu/bin/ld: cannot find -lanl: No such file or directory

So do not hardcode -lanl in config.mk as anl is already added if needed
in src/CMakeLists.txt since
8406c08

Fixes:
 - http:https://autobuild.buildroot.org/results/700de2a96e61d922662439ecd465350e4586a1e3

Signed-off-by: Fabrice Fontaine <[email protected]>
  • Loading branch information
ffontaine committed Jan 28, 2024
commit f438d20c4058120b287eac61e6fb93aa6aa19790
1 change: 0 additions & 1 deletion config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ ifeq ($(WITH_EC),yes)
endif

ifeq ($(WITH_ADNS),yes)
BROKER_LDADD:=$(BROKER_LDADD) -lanl
BROKER_CPPFLAGS:=$(BROKER_CPPFLAGS) -DWITH_ADNS
endif

Expand Down