mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
configure: Add -frecord-gcc-switches for instrumentation.
This commit is contained in:
parent
2ab314e687
commit
24b41daf30
1 changed files with 4 additions and 0 deletions
|
@ -406,6 +406,10 @@ dnl
|
||||||
dnl Compiler intrumentation
|
dnl Compiler intrumentation
|
||||||
dnl
|
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+=" -mmpx"
|
||||||
dnl CXXFLAGS+=" -fcheck-pointer-bounds"
|
dnl CXXFLAGS+=" -fcheck-pointer-bounds"
|
||||||
CXXFLAGS+=" -fchkp-instrument-marked-only"
|
CXXFLAGS+=" -fchkp-instrument-marked-only"
|
||||||
|
|
Loading…
Reference in a new issue