Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@davidbolvansky
Copy link
Contributor

@davidbolvansky davidbolvansky commented Aug 1, 2022

Adds new CMAKE option to enable LTO build.

Adds a check if the combo gcc+lto+lld is detected and prints the warning that LLD does not work with GCC's LTO and switch to Gold linker.

Updated README with new option, also documented a few relevant ones related to linker selection.

@davidbolvansky
Copy link
Contributor Author

@mbudiu-vmw please merge

@mihaibudiu mihaibudiu merged commit 41d4d12 into p4lang:main Sep 3, 2022
Sign up for free to 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.

2 participants