Add -z pack-relative-relocs to RUSTFLAGS #196

Merged
anonfunc merged 1 commits from BertalanD/ALHP.GO:rust-relr into main 2023-06-05 17:19:48 +02:00
Contributor

rustc/cargo ignores LDFLAGS and requires the linker flags to be passed
via -Clink-arg= in RUSTFLAGS.

rustc/cargo ignores LDFLAGS and requires the linker flags to be passed via `-Clink-arg=` in RUSTFLAGS.
BertalanD added 1 commit 2023-06-05 17:12:58 +02:00
7d16607a31 Add `-z pack-relative-relocs` to RUSTFLAGS
rustc/cargo ignores LDFLAGS and requires the linker flags to be passed
via `-Clink-arg=` in RUSTFLAGS.
Owner

LGTM

LGTM
anonfunc merged commit cbb2ea927d into main 2023-06-05 17:19:48 +02:00
Owner

I'm not sure if this PR is related, but FF is not failing to build with some RUSTFLAGS issue.

https://alhp.dev/logs/x86-64-v2/firefox.log

Did not find time to dig deeper yet. I found https://www.reddit.com/r/Gentoo/comments/13nq5rt/firefox_rustflags_issue/ after a quick search. Seems like link-args defined multiple times kills the ff build?

EDIT: Let's track this in #197.

I'm not sure if this PR is related, but FF is not failing to build with some `RUSTFLAGS` issue. https://alhp.dev/logs/x86-64-v2/firefox.log Did not find time to dig deeper yet. I found https://www.reddit.com/r/Gentoo/comments/13nq5rt/firefox_rustflags_issue/ after a quick search. Seems like link-args defined multiple times kills the ff build? *EDIT*: Let's track this in #197.
Sign in to join this conversation.
No description provided.