mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
chrpath: fix build with gcc13. (#9721)
This commit is contained in:
@@ -31,12 +31,14 @@ BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:autoconf
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoconf
|
||||
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 5ce86fd44694055d87e2cc2a3e1500f293bfe3ed Mon Sep 17 00:00:00 2001
|
||||
From 933058af2ad18c9bfc2b0b126c54789142c657af Mon Sep 17 00:00:00 2001
|
||||
From: Oscar Lesta <oscar.lesta@gmail.com>
|
||||
Date: Sat, 13 May 2023 16:47:24 -0300
|
||||
Subject: Fix build on Haiku
|
||||
@@ -35,5 +35,28 @@ index f24bc06..b16b1cc 100644
|
||||
Elf32_Phdr e32;
|
||||
Elf64_Phdr e64;
|
||||
--
|
||||
2.37.3
|
||||
2.42.0
|
||||
|
||||
|
||||
From cc8a8584df0ac12a661b0665b60d105ac8a18921 Mon Sep 17 00:00:00 2001
|
||||
From: Oscar Lesta <oscar.lesta@gmail.com>
|
||||
Date: Wed, 1 Nov 2023 15:38:44 -0300
|
||||
Subject: Fix build with GCC13.
|
||||
|
||||
|
||||
diff --git a/acinclude.m4 b/acinclude.m4
|
||||
index 73a7097..debcbd8 100644
|
||||
--- a/acinclude.m4
|
||||
+++ b/acinclude.m4
|
||||
@@ -22,7 +22,7 @@ esac
|
||||
AC_DEFUN([CHRPATH_LDRPATH_OPTION],
|
||||
[AC_REQUIRE([AC_CANONICAL_TARGET])[]dnl
|
||||
case "$target" in
|
||||
- *-linux*|*-gnu*|*-k*bsd*-gnu)
|
||||
+ *-linux*|*-gnu*|*-k*bsd*-gnu|*-haiku*)
|
||||
LDRPATH=-Wl,-rpath,
|
||||
;;
|
||||
*-*-irix*|*-*-osf*)
|
||||
--
|
||||
2.42.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user