search for: denable_hardening

Displaying 2 results from an estimated 2 matches for "denable_hardening".

2019 Apr 10
2
Opus cmake build
...so it is not clear where this came from. I could not even find an option to disable this with cmake. This should default to disabled. To reduce the chance that Opus can be used as part of a security exploit, Opus builds with a number of hardening options in a default autotools build, including -DENABLE_HARDENING, -D_FORTIFY_SOURCE=2, and -fstack-protector-strong (on compilers where it is supported, unless disabled with --disable-stack-protector). It also enables a number of compiler warnings by default, to help catch mistakes. However it appears that all of that is lost in the cmake build. How can we ge...
2019 Apr 10
0
Opus cmake build
...ibrary was explicitly added as a static library. cmake.org To build tests use the following flags: -DBUILD_TESTING=ON Then you can use: ctest -j 4 to run the test in parallel For programs use: -DBUILD_PROGRAMS=ON For the missing build flags this is great feedback and I will to fix those: Add: -DENABLE_HARDENING, -D_FORTIFY_SOURCE=2 Add option: -fstack-protector-strong (on compilers where it is supported, unless disabled with --disable-stack-protector). -DCUSTOM_MODES Please let me know if there is more missing flags. I might reach out to you directly if I am having issues with the build with these flag...