Page MenuHomeFreeBSD

Fix linking binaries with -latf
ClosedPublic

Authored by ngie on Oct 21 2014, 8:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 8, 5:01 PM
Unknown Object (File)
Sun, Mar 8, 1:15 PM
Unknown Object (File)
Sun, Mar 8, 6:55 AM
Unknown Object (File)
Feb 19 2026, 6:08 AM
Unknown Object (File)
Nov 28 2025, 12:44 AM
Unknown Object (File)
Nov 16 2025, 4:13 AM
Unknown Object (File)
Oct 29 2025, 8:24 PM
Unknown Object (File)
Oct 19 2025, 8:36 PM
Subscribers

Details

Reviewers
bapt
jmmv
bdrewery
Summary

Fix linking binaries with -latf

Check for -static in LDFLAGS or LDFLAGS.<test>, then pass in the appropriate
dependency (LIBATF or LDATF)

This unbreaks the build with some of the NetBSD tests that need to be compiled
statically

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ngie retitled this revision from to Fix linking binaries with -latf.
ngie updated this object.
ngie added a reviewer: bapt.
ngie added subscribers: imp, jmmv.
jmmv added a reviewer: jmmv.

This seems reasonable to me.

This revision is now accepted and ready to land.Oct 22 2014, 9:53 AM

Committed as r273478 -- thank you!