aboutsummaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorjonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2021-03-20 23:33:10 -0700
committerGitHub <noreply@github.com>2021-03-20 23:33:10 -0700
commit06cfe8c8cff8e4c0f0bf984fa610da470c66ceec (patch)
tree718bd47598a737cb2b15295df15bdf92abe1dcf0 /projects
parent0915194f249064c5c5710fee64c369d2176f57eb (diff)
downloadoss-fuzz-06cfe8c8cff8e4c0f0bf984fa610da470c66ceec.tar.gz
[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
Diffstat (limited to 'projects')
-rw-r--r--projects/ibmswtpm2/no_writes.patch6
1 files 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 \