mirror of
https://gitee.com/zyjblog/oatpp.git
synced 2024-12-21 16:15:13 +08:00
Merge pull request #887 from Yadoms/fixCrossCompileForPi
Try to fix cross-compile for Raspberry Pi with GCC version < 8.1
This commit is contained in:
commit
c1d37c189e
@ -249,7 +249,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
|
||||
add_cxx_compiler_flags_no_test(CMAKE_CXX_FLAGS "-D_GLIBCXX_ASSERTIONS")
|
||||
add_compiler_flags(4.6 "-fasynchronous-unwind-tables")
|
||||
add_compiler_flags(4.6 "-fexceptions")
|
||||
add_compiler_flags(4.6 "-fstack-clash-protection")
|
||||
add_compiler_flags(8.1 "-fstack-clash-protection")
|
||||
add_compiler_flags(4.6 "-fstack-protector-strong")
|
||||
add_compiler_flags(4.6 "-grecord-gcc-switches")
|
||||
# Issue 872: https://github.com/oatpp/oatpp/issues/872
|
||||
|
Loading…
Reference in New Issue
Block a user