mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
llvm: fix include path for clang.
ie. /system/lib/x86/clang/include instead of /system/lib/x86/x86/clang/include.
This commit is contained in:
@@ -31,7 +31,7 @@ other than the ones listed above.
|
||||
HOMEPAGE="https://www.llvm.org/"
|
||||
COPYRIGHT="2003-2018 University of Illinois at Urbana-Champaign"
|
||||
LICENSE="UIUC"
|
||||
REVISION="4"
|
||||
REVISION="5"
|
||||
SOURCE_URI="https://releases.llvm.org/$portVersion/llvm-$portVersion.src.tar.xz"
|
||||
CHECKSUM_SHA256="b6d6c324f9c71494c0ccaf3dac1f16236d970002b42bb24a6c9e1634f7d0f4e2"
|
||||
SOURCE_DIR="llvm-$portVersion.src"
|
||||
|
||||
@@ -31,7 +31,7 @@ other than the ones listed above.
|
||||
HOMEPAGE="https://www.llvm.org/"
|
||||
COPYRIGHT="2003-2018 University of Illinois at Urbana-Champaign"
|
||||
LICENSE="UIUC"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://releases.llvm.org/$portVersion/llvm-$portVersion.src.tar.xz"
|
||||
CHECKSUM_SHA256="8bc1f844e6cbde1b652c19c1edebc1864456fd9c78b8c1bea038e51b363fe222"
|
||||
SOURCE_DIR="llvm-$portVersion.src"
|
||||
|
||||
@@ -68,7 +68,7 @@ index 8c6face..4c04668 100644
|
||||
+ SmallString<128> P = llvm::sys::path::parent_path(NoVer);
|
||||
+
|
||||
+ // Get foo/include/c++/v1
|
||||
+ llvm::sys::path::append(P, HAIKU_HYBRID_SECONDARY, Clang, Ver);
|
||||
+ llvm::sys::path::append(P, Clang, Ver);
|
||||
+#else
|
||||
SmallString<128> P = StringRef(HSOpts.ResourceDir);
|
||||
+#endif
|
||||
|
||||
@@ -68,7 +68,7 @@ index 8a70404..c80c3da 100644
|
||||
+ SmallString<128> P = llvm::sys::path::parent_path(NoVer);
|
||||
+
|
||||
+ // Get foo/include/c++/v1
|
||||
+ llvm::sys::path::append(P, HAIKU_HYBRID_SECONDARY, Clang, Ver);
|
||||
+ llvm::sys::path::append(P, Clang, Ver);
|
||||
+#else
|
||||
SmallString<128> P = StringRef(HSOpts.ResourceDir);
|
||||
+#endif
|
||||
|
||||
Reference in New Issue
Block a user