package/sentry-cli: pass HOST_LDFLAGS
PATCH 1/1 package/sentry-cli: pass HOST_LDFLAGS
Pass HOST_LDFLAGS to avoid the following build failure due to missing RPATH:
*** ERROR: package host-sentry-cli installs executables without proper RPATH:
*** /srv/storage/autobuild/run/instance-3/output-1/host/bin/sentry-cli
Fixes:
- http://autobuild.buildroot.org/results/d52638baefec961ff693aecf833af7adfc482fe4
--- package/sentry-cli/sentry-cli.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
package/sentry-cli/sentry-cli.mk +3 -1
@@ -11,7 +11,9 @@ SENTRY_CLI_LICENSE_FILES = LICENSE HOST_SENTRY_CLI_DEPENDENCIES = host-rustc host-zlib -HOST_SENTRY_CLI_CARGO_ENV = CARGO_HOME=$(HOST_DIR)/share/cargo +HOST_SENTRY_CLI_CARGO_ENV = \ + CARGO_HOME=$(HOST_DIR)/share/cargo \ + RUSTFLAGS="$(addprefix -C link-args=,$(HOST_LDFLAGS))" HOST_SENTRY_CLI_CARGO_OPTS = \ --release \
Signature · 1 line
2.28.0
Yann E. MORIN
AppliedPATCH 1/1 package/sentry-cli: pass HOST_LDFLAGS
Fabrice, All,
On 2020-10-04 20:41 +0200, Fabrice Fontaine spake thusly:
Quoted 10 lines
Pass
HOST_LDFLAGSto avoid the following build failure due to missing RPATH:*** ERROR: package host-sentry-cli installs executables without proper RPATH:
***/srv/storage/autobuild/run/instance-3/output-1/host/bin/sentry-cliFixes:
- http://autobuild.buildroot.org/results/d52638baefec961ff693aecf833af7adfc482fe4Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 26 lines
--- package/sentry-cli/sentry-cli.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)package/sentry-cli/sentry-cli.mk +3
-1@@ -11,7 +11,9 @@ SENTRY_CLI_LICENSE_FILES = LICENSE HOST_SENTRY_CLI_DEPENDENCIES = host-rustc host-zlib -HOST_SENTRY_CLI_CARGO_ENV = CARGO_HOME=$(HOST_DIR)/share/cargo +HOST_SENTRY_CLI_CARGO_ENV = \ + CARGO_HOME=$(HOST_DIR)/share/cargo \ + RUSTFLAGS="$(addprefix -C link-args=,$(HOST_LDFLAGS))" HOST_SENTRY_CLI_CARGO_OPTS = \ --release \Signature · 6 lines
2.28.0 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'