From 1587c3c55592d2e22d20f39b16cb3e6f4642bcaf Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Mon, 30 Jul 2018 20:37:27 -0400 Subject: [PATCH] ArchitectureRules: Enable no-delete-null-pointer-checks on Clang. This requires a trunk build of Clang (the flag was only implemented & introduced 12 days ago), but at present, full builds will fail due to an unrelated Clang bug: https://bugs.llvm.org/show_bug.cgi?id=38356 --- build/jam/ArchitectureRules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/jam/ArchitectureRules b/build/jam/ArchitectureRules index e12fdad7c8..f7de079089 100644 --- a/build/jam/ArchitectureRules +++ b/build/jam/ArchitectureRules @@ -34,7 +34,7 @@ rule ArchitectureSetup architecture # - https://dev.haiku-os.org/ticket/10803#comment:4 (& subsequent comments) # Note that the Linux also does the same: # - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a3ca86aea507904148870946d599e07a340b39bf - if $(gccVersion[1]) >= 3 && $(HAIKU_CC_IS_CLANG_$(architecture)) != 1 { + if $(gccVersion[1]) >= 3 { gccBaseFlags += -fno-delete-null-pointer-checks ; }