incl. riscv64 (lp64d) rpaths to libtool patch
[..] + /usr/lib/rpm/check-rpaths [..] ERROR 0020: file '/usr/lib64/libcc1.so.0.0.0' contains a runpath referencing '..' of an absolute path [/usr/lib/../lib64/lp64d] ERROR 0020: file '/usr/lib64/libasan.so.8.0.0' contains a runpath referencing '..' of an absolute path [/usr/lib/../lib64/lp64d] [..] ERROR 0020: file '/usr/lib64/libubsan.so.1.0.0' contains a runpath referencing '..' of an absolute path [/usr/lib/../lib64/lp64d] [..] ERROR 0020: file '/usr/lib/gcc/riscv64-redhat-linux/12/plugin/libcc1plugin.so.0.0.0' contains a runpath referencing '..' of an absolute path [/usr/lib/../lib64/lp64d] ERROR 0020: file '/usr/lib/gcc/riscv64-redhat-linux/12/plugin/libcp1plugin.so.0.0.0' contains a runpath referencing '..' of an absolute path [/usr/lib/../lib64/lp64d] [..] Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
6e4093c32e
commit
ec91f96550
@ -5,7 +5,7 @@ libtool sucks.
|
|||||||
rpath="$finalize_rpath"
|
rpath="$finalize_rpath"
|
||||||
test "$mode" != relink && rpath="$compile_rpath$rpath"
|
test "$mode" != relink && rpath="$compile_rpath$rpath"
|
||||||
for libdir in $rpath; do
|
for libdir in $rpath; do
|
||||||
+ case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
|
+ case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64|/usr/lib/../lib64/lp64d) continue;; esac
|
||||||
if test -n "$hardcode_libdir_flag_spec"; then
|
if test -n "$hardcode_libdir_flag_spec"; then
|
||||||
if test -n "$hardcode_libdir_separator"; then
|
if test -n "$hardcode_libdir_separator"; then
|
||||||
if test -z "$hardcode_libdirs"; then
|
if test -z "$hardcode_libdirs"; then
|
||||||
@ -13,7 +13,7 @@ libtool sucks.
|
|||||||
rpath=
|
rpath=
|
||||||
hardcode_libdirs=
|
hardcode_libdirs=
|
||||||
for libdir in $compile_rpath $finalize_rpath; do
|
for libdir in $compile_rpath $finalize_rpath; do
|
||||||
+ case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
|
+ case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64|/usr/lib/../lib64/lp64d) continue;; esac
|
||||||
if test -n "$hardcode_libdir_flag_spec"; then
|
if test -n "$hardcode_libdir_flag_spec"; then
|
||||||
if test -n "$hardcode_libdir_separator"; then
|
if test -n "$hardcode_libdir_separator"; then
|
||||||
if test -z "$hardcode_libdirs"; then
|
if test -z "$hardcode_libdirs"; then
|
||||||
@ -21,7 +21,7 @@ libtool sucks.
|
|||||||
rpath=
|
rpath=
|
||||||
hardcode_libdirs=
|
hardcode_libdirs=
|
||||||
for libdir in $finalize_rpath; do
|
for libdir in $finalize_rpath; do
|
||||||
+ case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
|
+ case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64|/usr/lib/../lib64/lp64d) continue;; esac
|
||||||
if test -n "$hardcode_libdir_flag_spec"; then
|
if test -n "$hardcode_libdir_flag_spec"; then
|
||||||
if test -n "$hardcode_libdir_separator"; then
|
if test -n "$hardcode_libdir_separator"; then
|
||||||
if test -z "$hardcode_libdirs"; then
|
if test -z "$hardcode_libdirs"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user