Skip to content

Commit fee0413

Browse files
committed
Fix unnecessary leaking of compile flag
Fixes inconsistency in type declarations across tools, causing link errors on 32-bit systems. In the long term, we want to build everything with 64-bit types.
1 parent 03842c2 commit fee0413

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/signing/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ if(CMAKE_SIZEOF_VOID_P EQUAL 4)
1818
# https://www.gnupg.org/documentation/manuals/gpgme/Largefile-Support-_0028LFS_0029.html
1919
message(WARNING "Building on 32-bit system, adding special gpgme definitions")
2020
target_compile_definitions(signing
21-
PUBLIC -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE
21+
PRIVATE -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE
2222
)
2323
endif()

src/signing/signaturevalidator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <filesystem>
66

77
// library headers
8-
#include <gpgme.h>
8+
#include <gpg-error.h>
99

1010
// local headers
1111
#include "util/updatableappimage.h"

0 commit comments

Comments
 (0)