-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails due to _FORTIFY_SOURCE requires compiling with optimization (-O) #71
Comments
I added -O optimization as it was the first error to hardening.cmake like this elseif(CMAKE_CXX_COMPILER_ID MATCHES ".*Clang|GNU")
set(NEW_CXX_DEFINITIONS "${NEW_CXX_DEFINITIONS} -D_GLIBCXX_ASSERTIONS -O")
message(STATUS "*** GLIBC++ Assertions (vector[], string[], ...) enabled") then tried again this time first error is gone but somehow fxtui is giving error for missing std header files.
|
AS far as I understood the fxtui issue is an fxtui issues which is build and but probably not in the release used here. So I would suggest maybe to use the master branch here but still the previous error requires -O optimization to hardening but then it how will it be used for optimized build ? I tried Debug build |
Hi
Thank you for this template. I am a fan. Have all the books :)
I tried to build this as is on Linux Arch.
Configuration was OK but build failed due to a required optimization as mentioned in the error below. I tough this might be helpfull to have a look at it.
Salim
The text was updated successfully, but these errors were encountered: