packaging/fedora: force external linker to ensure static linking and -extldflags use
Go toolchain will use external linking only under specfiic conditions, such as
enabling PIE buildmode, using code that depends on CGO or an OGARCH/GOOS
unsupported by the internal linker.
Make sure that Go binaries are always using the external linker. This ensures
that external flags defined by distro policy, or package (such as -static) are
actually used.
Signed-off-by: Maciej Borzecki <email address hidden>
packaging/fedora: force external linker to ensure static linking and -extldflags use
Go toolchain will use external linking only under specfiic conditions, such as
enabling PIE buildmode, using code that depends on CGO or an OGARCH/GOOS
unsupported by the internal linker.
Make sure that Go binaries are always using the external linker. This ensures
that external flags defined by distro policy, or package (such as -static) are
actually used.
Signed-off-by: Maciej Borzecki <email address hidden>