Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkgs/by-name/li/libe57format/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ stdenv.mkDerivation (finalAttrs: {
];

cmakeFlags = [
# Without this, LTO will be enabled, which seems to cause
# errors when consumers try to link the `.a` file, see:
# https://github.com/asmaloney/libE57Format/pull/313#issuecomment-2907797367
"-DE57_RELEASE_LTO=OFF"
# See https://github.com/asmaloney/libE57Format/blob/9372bdea8db2cc0c032a08f6d655a53833d484b8/test/README.md
(
if finalAttrs.finalPackage.doCheck then
Expand Down