summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-09-16 20:04:43 -0700
committerKhem Raj <raj.khem@gmail.com>2022-09-16 20:07:40 -0700
commit81a5256298f1e4403591bdaf95957e832da75d31 (patch)
tree06458e86df6094d3e03984d3330d4f15159ea4d4
parent66b305f86fdee1c27edcb39f299b052c87d2d82e (diff)
interactive-helper: Undefine _FORTIFY_SOURCE
This ensures that it compiles when clang compiler is passing -DFORTIFY_SOURCES=2 Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--test/interactive-helper/libnoprofile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/interactive-helper/libnoprofile.c b/test/interactive-helper/libnoprofile.c
index f11b89899..b26ec2a1c 100644
--- a/test/interactive-helper/libnoprofile.c
+++ b/test/interactive-helper/libnoprofile.c
@@ -1,4 +1,5 @@
#define _GNU_SOURCE
+#undef _FORTIFY_SOURCE
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>