0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 15:04:10 +01:00

configure: Add -frecord-gcc-switches for instrumentation.

This commit is contained in:
Jason Volk 2018-11-12 18:25:45 -08:00
parent 2ab314e687
commit 24b41daf30

View file

@ -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"