Lines 75-80
def _impl(ctx):
Link Here
|
75 |
flag_group( |
75 |
flag_group( |
76 |
flags = [ |
76 |
flags = [ |
77 |
"-Wl,-undefined,dynamic_lookup", |
77 |
"-Wl,-undefined,dynamic_lookup", |
|
|
78 |
"-Wl,--undefined-version", |
78 |
"-lc++", |
79 |
"-lc++", |
79 |
"-Wl,-z,relro,-z,now", |
80 |
"-Wl,-z,relro,-z,now", |
80 |
"-no-canonical-prefixes", |
81 |
"-no-canonical-prefixes", |
Lines 225-241
def _impl(ctx):
Link Here
|
225 |
else: |
226 |
else: |
226 |
features = [supports_dynamic_linker_feature, supports_pic_feature] |
227 |
features = [supports_dynamic_linker_feature, supports_pic_feature] |
227 |
if (is_bsd): |
228 |
if (is_bsd): |
228 |
cxx_builtin_include_directories = ["/usr/local/llvm-devel/lib/clang/16.0.0", "/usr/include/c++/v1", "/usr/local/include", "/usr/include"] |
229 |
cxx_builtin_include_directories = ["/usr/local/llvm16/lib/clang/16.0.0", "/usr/local/llvm16/lib/clang/16/include", "/usr/include/c++/v1", "/usr/local/include", "/usr/include"] |
229 |
else: |
230 |
else: |
230 |
cxx_builtin_include_directories = [] |
231 |
cxx_builtin_include_directories = [] |
231 |
if is_bsd: |
232 |
if is_bsd: |
232 |
tool_paths = [ |
233 |
tool_paths = [ |
233 |
tool_path(name = "ar", path = "/usr/bin/ar"), |
234 |
tool_path(name = "ar", path = "/usr/bin/ar"), |
234 |
tool_path(name = "cpp", path = "/usr/local/llvm-devel/bin/clang-cpp"), |
235 |
tool_path(name = "cpp", path = "/usr/local/llvm16/bin/clang-cpp"), |
235 |
tool_path(name = "dwp", path = "/usr/bin/dwp"), |
236 |
tool_path(name = "dwp", path = "/usr/bin/dwp"), |
236 |
tool_path(name = "gcc", path = "/usr/local/llvm-devel/bin/clang-16"), |
237 |
tool_path(name = "gcc", path = "/usr/local/llvm16/bin/clang-16"), |
237 |
tool_path(name = "gcov", path = "/usr/bin/gcov"), |
238 |
tool_path(name = "gcov", path = "/usr/bin/gcov"), |
238 |
tool_path(name = "ld", path = "/usr/local/llvm-devel/bin/ld"), |
239 |
tool_path(name = "ld", path = "/usr/local/llvm16/bin/ld"), |
239 |
tool_path(name = "nm", path = "/usr/bin/nm"), |
240 |
tool_path(name = "nm", path = "/usr/bin/nm"), |
240 |
tool_path(name = "objcopy", path = "/usr/bin/objcopy"), |
241 |
tool_path(name = "objcopy", path = "/usr/bin/objcopy"), |
241 |
tool_path(name = "objdump", path = "/usr/bin/objdump"), |
242 |
tool_path(name = "objdump", path = "/usr/bin/objdump"), |