Skip to content

Commit eb033b6

Browse files
committed
Try -no-canonical-prefixes
1 parent 355370f commit eb033b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/system_libs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ def generate_ninja(self, build_dir, libname):
469469
utils.safe_ensure_dirs(build_dir)
470470

471471
cflags = self.get_cflags()
472+
cflags += ['-no-canonical-prefixes']
472473
if self.deterministic_paths:
473474
source_dir = utils.path_from_root()
474475
relative_source_dir = os.path.relpath(source_dir, build_dir)
@@ -492,6 +493,7 @@ def build_objects(self, build_dir):
492493
commands = []
493494
objects = set()
494495
cflags = self.get_cflags()
496+
cflags += ['-no-canonical-prefixes']
495497
if self.deterministic_paths:
496498
source_dir = utils.path_from_root()
497499
if batch_inputs:

0 commit comments

Comments
 (0)