1234567891011121314151617181920212223242526272829 |
- From dd931268ba165d00de11163a50d5acd80085a202 Mon Sep 17 00:00:00 2001
- From: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
- Date: Thu, 28 Apr 2022 01:03:56 +0000
- Subject: [PATCH 20/21] workaround for files not found in sysroot
- Signed-off-by: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
- ---
- buildtools/third_party/libc++/BUILD.gn | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
- diff --git a/buildtools/third_party/libc++/BUILD.gn b/buildtools/third_party/libc++/BUILD.gn
- index b3e5378f711c5..b54980669c194 100644
- --- a/buildtools/third_party/libc++/BUILD.gn
- +++ b/buildtools/third_party/libc++/BUILD.gn
- @@ -23,7 +23,10 @@ config("config") {
- "-std:c++20",
- ]
- } else {
- - cflags += [ "-fPIC" ]
- + cflags += [
- + "-fPIC",
- + "-isystem../../build/linux/debian_sid_riscv64-sysroot/usr/include",
- + ]
- cflags_cc = [ "-std=c++20" ]
- }
-
- --
- 2.25.1
|