Skip to content

Commit

Permalink
Disable LTO to fix build on centos9 and noble
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-id committed Oct 22, 2024
1 parent 84def7b commit 56ed67b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
export DH_VERBOSE=1
#disable LTO otherwise compilation fails on ubuntu noble
export DEB_BUILD_MAINT_OPTIONS=optimize=-lto

%:
dh $@ --parallel --without python-support
Expand Down
3 changes: 3 additions & 0 deletions idzebra.spec
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#disable LTO otherwise compilation fails on centos9
%global _lto_cflags %nil

%define idmetaversion %(. ./IDMETA; echo $VERSION)
Name: idzebra
%define namev idzebra-2.0
Expand Down

0 comments on commit 56ed67b

Please sign in to comment.