mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
llvm: fix header dir suffix for secondary arch
This commit is contained in:
@@ -31,7 +31,7 @@ other than the ones listed above.
|
||||
HOMEPAGE="https://www.llvm.org/"
|
||||
COPYRIGHT="2003-2014 University of Illinois at Urbana-Champaign"
|
||||
LICENSE="UIUC"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://releases.llvm.org/${portVersion}/llvm-${portVersion}.src.tar.xz"
|
||||
SOURCE_URI_2="https://releases.llvm.org/${portVersion}/cfe-${portVersion}.src.tar.xz"
|
||||
SOURCE_URI_3="https://releases.llvm.org/${portVersion}/clang-tools-extra-${portVersion}.src.tar.xz"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 3825ccfacb0e6db06ac955d58bb9d20dc43b52a8 Mon Sep 17 00:00:00 2001
|
||||
From d154950caa2cc64b7166e9b2bc9dc4bd94ac3edc Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Wed, 20 Jan 2016 21:13:28 +0000
|
||||
Subject: llvm-config: use /develop/headers instead of /include
|
||||
@@ -49,10 +49,10 @@ index 08b096a..739213c 100644
|
||||
LinkDyLib = false;
|
||||
LinkMode = BuiltSharedLibs ? LinkModeShared : LinkModeAuto;
|
||||
--
|
||||
2.14.2
|
||||
2.16.4
|
||||
|
||||
|
||||
From 23ce807b3b13948116864f588a401c191b630b20 Mon Sep 17 00:00:00 2001
|
||||
From c5741a157b7056206bd6a0d03b89df336cf77431 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Sat, 16 Sep 2017 15:02:46 +0200
|
||||
Subject: Haiku doesn't expose whether a FS is local or remote.
|
||||
@@ -73,5 +73,28 @@ index 45097eb..1790a0a 100644
|
||||
// statvfs::f_basetype contains a null-terminated FSType name of the mounted target
|
||||
StringRef fstype(Vfs.f_basetype);
|
||||
--
|
||||
2.14.2
|
||||
2.16.4
|
||||
|
||||
|
||||
From 162492e9b84f5815f56909aeb8960bf90bfa5d05 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Thu, 7 Jun 2018 21:43:47 +1000
|
||||
Subject: Fix header dir suffix
|
||||
|
||||
|
||||
diff --git a/tools/llvm-config/llvm-config.cpp b/tools/llvm-config/llvm-config.cpp
|
||||
index 739213c..ab7b46c 100644
|
||||
--- a/tools/llvm-config/llvm-config.cpp
|
||||
+++ b/tools/llvm-config/llvm-config.cpp
|
||||
@@ -333,7 +333,7 @@ int main(int argc, char **argv) {
|
||||
} else {
|
||||
ActivePrefix = CurrentExecPrefix;
|
||||
#ifdef __HAIKU__
|
||||
- ActiveIncludeDir = ActivePrefix + "/develop/headers";
|
||||
+ ActiveIncludeDir = ActivePrefix + "/develop/headers" + LLVM_LIBDIR_SUFFIX;
|
||||
ActiveLibDir = ActivePrefix + "/develop/lib" + LLVM_LIBDIR_SUFFIX;
|
||||
#else
|
||||
ActiveIncludeDir = ActivePrefix + "/include";
|
||||
--
|
||||
2.16.4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user