Skip to content

Commit

Permalink
Enable Largefile Support
Browse files Browse the repository at this point in the history
Required by GPGME on 32bit architectures.
  • Loading branch information
jrohel authored and dmach committed Aug 31, 2018
1 parent 3e2b73e commit cf9f2a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ if (NOT HAS_FNM_CASEFOLD)
message (SEND_ERROR "FNM_CASEFOLD is not available")
endif ()

# LargeFile Support is required by GPGME on 32bit architectures
ADD_DEFINITIONS(-D_FILE_OFFSET_BITS=64)

ADD_DEFINITIONS(-DGETTEXT_DOMAIN=\\"libdnf\\")
ADD_DEFINITIONS(-DG_LOG_DOMAIN=\\"libdnf\\")

Expand Down

0 comments on commit cf9f2a5

Please sign in to comment.