fuzz: if the caller of our makefile sets CC and CXX, trust them
authorAugie Fackler <augie@google.com>
Wed, 24 Feb 2021 12:40:54 -0500
changeset 46609 25b1610f8534
parent 46608 4e4c70401028
child 46610 d7d64b8c8229
fuzz: if the caller of our makefile sets CC and CXX, trust them This should fix the broken fuzzing build, because we've been explicitly using clang++ but are now being given a CXX=afl++, which does extra stuff. Differential Revision: https://phab.mercurial-scm.org/D10066
contrib/fuzz/Makefile
--- a/contrib/fuzz/Makefile	Fri Feb 26 12:16:43 2021 +0100
+++ b/contrib/fuzz/Makefile	Wed Feb 24 12:40:54 2021 -0500
@@ -1,5 +1,5 @@
-CC = clang
-CXX = clang++
+CC ?= clang
+CXX ?= clang++
 
 # By default, use our own standalone_fuzz_target_runner.
 # This runner does no fuzzing, but simply executes the inputs