Page MenuHomeFreeBSD

krb5: append to LDFLAGS instead of replacing
ClosedPublic

Authored by chs on Feb 17 2026, 6:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 29, 12:50 PM
Unknown Object (File)
Tue, Mar 24, 9:25 PM
Unknown Object (File)
Mon, Mar 23, 11:17 PM
Unknown Object (File)
Mon, Mar 23, 8:51 PM
Unknown Object (File)
Mon, Mar 23, 3:14 PM
Unknown Object (File)
Thu, Mar 19, 3:28 PM
Unknown Object (File)
Sat, Mar 14, 1:47 PM
Unknown Object (File)
Mon, Mar 9, 6:06 PM
Subscribers

Details

Summary

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70735
Build 67618: arc lint + arc unit

Event Timeline

chs requested review of this revision.Feb 17 2026, 6:05 PM

is there any way we could consolidate this in a single Makefile rather than sprinkling it all over the place?

Why is this needed? Do these libraries depend on symbols which the application is expected to define?

This patch does not change what any of these Makefiles add to LDFLAGS. What is being changed by this patch to have these Makefile add their options to any existing contents of $LDFLAGS by using "LDFLAGS += ..." rather than discarding any existing contents of $LDFLAGS by using "LDFLAGS = ..." . I have no idea why any of these Makefiles want to add anything to LDFLAGS or if there is a better way to accomplish their goal, all I want to change is to add the "+'" in between "LDFLAGS" and "=".

These Makefiles will then match what almost all other Makefiles in base do, with the only exceptions being stuff like third-party Makefiles in src/contrib that are not used, and Makefiles in places src/stand where what is being built is not a normal application or shared library.

This revision is now accepted and ready to land.Wed, Mar 18, 11:25 PM
This revision was automatically updated to reflect the committed changes.