Skip to content

[ATfE] Remove absolute build directory path from libraries#859

Open
voltur01 wants to merge 1 commit into
arm:arm-softwarefrom
voltur01:remove_build_path_from_libs
Open

[ATfE] Remove absolute build directory path from libraries#859
voltur01 wants to merge 1 commit into
arm:arm-softwarefrom
voltur01:remove_build_path_from_libs

Conversation

@voltur01
Copy link
Copy Markdown
Contributor

@voltur01 voltur01 commented May 21, 2026

Some library files use macros like __FILE__ which add the absolute build directory path to the binary. To make the builds more reproducible and easier to compare (especially for FuSa purposes) this patch reuses LLVM option LLVM_USE_RELATIVE_PATHS_IN_FILES to remove the absolute paths.

LLVM options itself does not apply to libraries, thus a local implementation for it is needed.

Some library files use macros like __FILE__ which add the absolute build directory path to the binary. To make the builds more reproducible and easier to compare (especially for FuSa purposes) this patch reuses LLVM option LLVM_USE_RELATIVE_PATHS_IN_FILES to remove the absolute paths.

LLVM options itself does not apply to libraries, thus a local implementation for it is needed.
@voltur01 voltur01 requested a review from a team as a code owner May 21, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant