Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

autoconf: pass linker options in a GCC spec file #158

@cproc

Description

@cproc

Currently, autoconf projects which build shared libraries often need to be patched to use the Genode-specific linker options, because the LDFLAGS variable is often only considered for applications. Some autoconf projects like vim, less or gcc don't consider LDFLAGS or LIBS at some places even for applications. An alternative to patching the source code at the relevant locations could be to pass the linker options in a GCC spec file [1] which supports the distinction between shared and non-shared link output types.

[1] https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html

Metadata

Metadata

Assignees

Labels

fixedIssue is resolved

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions