Skip to content

Commit

Permalink
[ibmswtpm2] Speculative fix for AFL++ issue. (#5451)
Browse files Browse the repository at this point in the history
* [ibmswtpm2] Speculative fix for AFL++ issue.
Try to fix issue by using CC and CXX from env.

Fixes #5093

* fix
  • Loading branch information
jonathanmetzman committed Mar 21, 2021
1 parent 0915194 commit 06cfe8c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions projects/ibmswtpm2/no_writes.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 06cfe8c

Please sign in to comment.