Skip to content
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

Enabling CMAKE_INTERPROCEDURAL_OPTIMIZATION (LTO) causes executables to be linked twice #626

Open
2 tasks done
equeim opened this issue Dec 27, 2024 · 0 comments
Open
2 tasks done

Comments

@equeim
Copy link

equeim commented Dec 27, 2024

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

flatpak-builder version

1.4.4

Flatpak version

1.15.12

How to reproduce

  1. Build example from test.zip

Expected Behavior

test executable is linked once.

Actual Behavior

test executable is linked twice, first at build step and then at install step.

Additional Information

Minimal example: test.zip

This happens both with "buildsystem": "cmake" and "buildsystem": "cmake-ninja". It does not happen when running build && install on the host, without flatpak-builder.

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

No branches or pull requests

1 participant