tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: proper way to add additional linker flags for kernel link
On May 26, 2014, at 6:36 AM, Tyler Retzlaff
<list%omicron-persei-8.net@localhost> wrote:
> What is the correct way to pass additional flags to the linker for linking
> the kernel?
>
> A brief look at src/sys/conf/Makefile.kern.inc seems to suggest
> LINKFLAGS_NORMAL+=<flags>
> will be useful but does not emit the additional flags at all. Further,
> LINKFLAGS+=<flags>
> seems to corrupt entirely the normal flags passed.
>
> Is there a "right" way to do this?
EXTRA_LINKFLAGS
Home |
Main Index |
Thread Index |
Old Index