Skip to content

Commit

Permalink
fixup! cmake: Add general compile options
Browse files Browse the repository at this point in the history
Don't pass `-fno-extended-identifiers` to a linker
  • Loading branch information
hebasto committed Mar 27, 2024
1 parent 138cd2e commit 3e83361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ include(cmake/optional_qt.cmake)
include(cmake/optional.cmake)

# Don't allow extended (non-ASCII) symbols in identifiers. This is easier for code review.
try_append_cxx_flags("-fno-extended-identifiers" TARGET core_base_interface)
try_append_cxx_flags("-fno-extended-identifiers" TARGET core_base_interface SKIP_LINK)

# Currently all versions of gcc are subject to a class of bugs, see the
# gccbug_90348 test case (only reproduces on GCC 11 and earlier) and
Expand Down

0 comments on commit 3e83361

Please sign in to comment.