Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rguenther:plgrnd
deno
compiler-rt-adjust-paths.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File compiler-rt-adjust-paths.patch of Package deno
diff --git a/build/config/clang/BUILD.gn b/build/config/clang/BUILD.gn index fcca59b0f..fdf14f306 100644 --- a/rusty_v8/build/config/clang/BUILD.gn +++ b/rusty_v8/build/config/clang/BUILD.gn @@ -192,12 +192,15 @@ template("clang_lib") { } else if (is_linux || is_chromeos) { if (current_cpu == "x64") { _dir = "x86_64-unknown-linux-gnu" + _suffix = "-x86_64" } else if (current_cpu == "x86") { _dir = "i386-unknown-linux-gnu" + _suffix = "-i386" } else if (current_cpu == "arm") { _dir = "armv7-unknown-linux-gnueabihf" } else if (current_cpu == "arm64") { _dir = "aarch64-unknown-linux-gnu" + _suffix = "-aarch64" } else { assert(false) # Unhandled cpu type } @@ -228,6 +231,11 @@ template("clang_lib") { assert(false) # Unhandled target platform } + # Bit of a hack to make this find builtins from compiler-rt >= 16 + if (is_linux || is_chromeos) { + _dir = "linux" + } + _clang_lib_dir = "$clang_base_path/lib/clang/$clang_version/lib" _lib_file = "${_prefix}clang_rt.${_libname}${_suffix}.${_ext}" libs = [ "$_clang_lib_dir/$_dir/$_lib_file" ]
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor