Skip to content

fix: allow lto to be off in CMake 3.9+ - #2347

Closed
henryiii wants to merge 2 commits into
masterfrom
fix/lto_off
Closed

fix: allow lto to be off in CMake 3.9+#2347
henryiii wants to merge 2 commits into
masterfrom
fix/lto_off

Conversation

@henryiii

@henryiiihenryiii commented Jul 31, 2020

Copy link
Copy Markdown
Collaborator

If CMAKE_INTERPROCEDURAL_OPTIMIZATION is defined to OFF, respect that (CMake 3.9+). Closes#1415.

@henryiii

Copy link
Copy Markdown
CollaboratorAuthor

By the way, I could respect this being set to OFF even before 3.9, to have a universal way to turn it off in emergencies.

@henryiii

Copy link
Copy Markdown
CollaboratorAuthor

I'm going to have to address this in a slightly different way - will either be part of the FindPython work or added just after it.

@henryiii

Copy link
Copy Markdown
CollaboratorAuthor

PR #2370 does this in a slightly different way.

@henryiiihenryiii closed this Aug 8, 2020
@henryiii
henryiii deleted the fix/lto_off branch August 8, 2020 00:29
@rwgkrwgk mentioned this pull request Feb 10, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GCC 4.8 LTO Crashes

1 participant

@henryiii