From 24b41daf3041976f0ceaccbf4c097ab59920609a Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 12 Nov 2018 18:25:45 -0800 Subject: [PATCH] configure: Add -frecord-gcc-switches for instrumentation. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index e30f3a0e0..68a0b6e6b 100644 --- a/configure.ac +++ b/configure.ac @@ -406,6 +406,10 @@ dnl dnl Compiler intrumentation dnl +dnl Creates an ELF section in the output which contains a list of +dnl the command line arguments used for compilation. +CXXFLAGS+=" -frecord-gcc-switches" + dnl CXXFLAGS+=" -mmpx" dnl CXXFLAGS+=" -fcheck-pointer-bounds" CXXFLAGS+=" -fchkp-instrument-marked-only"