mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
make: fix compilation on alpine
Starting with the musl v1.2.4~69, _GNU_SOURCE doesn't set _LARGEFILE64_SOURCE. Fixes #2313 Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
parent
7b689b7a42
commit
b419f3dfdc
3 changed files with 3 additions and 2 deletions
1
Makefile
1
Makefile
|
|
@ -106,6 +106,7 @@ export PROTOUFIX DEFINES
|
|||
#
|
||||
# Independent options for all tools.
|
||||
DEFINES += -D_FILE_OFFSET_BITS=64
|
||||
DEFINES += -D_LARGEFILE64_SOURCE
|
||||
DEFINES += -D_GNU_SOURCE
|
||||
|
||||
WARNINGS := -Wall -Wformat-security -Wdeclaration-after-statement -Wstrict-prototypes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue