[ibmswtpm2] Speculative fix for AFL++ issue. (#5451)

* [ibmswtpm2] Speculative fix for AFL++ issue.
Try to fix issue by using CC and CXX from env.

Fixes #5093

* fix
This commit is contained in:
jonathanmetzman 2021-03-20 23:33:10 -07:00 committed by GitHub
parent 0915194f24
commit 06cfe8c8cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -84,12 +84,10 @@ diff --git a/makefile b/makefile
index cc3e410..c10ba5a 100644
--- a/makefile
+++ b/makefile
@@ -40,16 +40,19 @@
@@ -40,16 +40,16 @@
CC = /usr/bin/gcc
+CC = clang
+CXX = clang++
-CC = /usr/bin/gcc
-CCFLAGS = -Wall \
+CCFLAGS = $(CFLAGS) -Wall \