From 06cfe8c8cff8e4c0f0bf984fa610da470c66ceec Mon Sep 17 00:00:00 2001 From: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> Date: Sat, 20 Mar 2021 23:33:10 -0700 Subject: [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 --- projects/ibmswtpm2/no_writes.patch | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/projects/ibmswtpm2/no_writes.patch b/projects/ibmswtpm2/no_writes.patch index a9be0dccf..ca8d7c699 100644 --- a/projects/ibmswtpm2/no_writes.patch +++ b/projects/ibmswtpm2/no_writes.patch @@ -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 \ -- cgit v1.2.3