libsolv: #define _GNU_SOURCE from command line

On Haiku host, we need _GNU_SOURCE defined when stdio.h is included
to use fopencookie. We did that in libsolv sources, but we now include
stdio from BeOSBuildCompatibility.h which is included from the command
line. So set _GNU_SOURCE from command line as well.
This commit is contained in:
Adrien Destugues 2018-08-07 20:50:56 +02:00
parent d9949ac911
commit 8d1f13817f

View File

@ -16,6 +16,7 @@ DEFINES =
HAIKU
ENABLE_HAIKU
VERSION=\\\"$(libsolvVersion)\\\"
_GNU_SOURCE
;
# One of the following must be defined: