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)
Wed, Sep 30, 8:55 AM
Unknown Object (File)
Fri, Sep 25, 3:54 PM
Unknown Object (File)
Mon, Sep 21, 1:00 PM
Unknown Object (File)
Sun, Sep 20, 12:30 PM
Unknown Object (File)
Fri, Sep 18, 6:47 PM
Unknown Object (File)
Sat, Sep 12, 7:25 AM
Unknown Object (File)
Sat, Sep 12, 2:35 AM
Unknown Object (File)
Sep 11 2026, 1:14 AM
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!