From 8d1f13817f33276a94a48396dbd3aa9f5634118d Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 7 Aug 2018 20:50:56 +0200 Subject: [PATCH] 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. --- src/build/libsolv/Jamfile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/build/libsolv/Jamfile b/src/build/libsolv/Jamfile index e09b82cc4d..c7e7888780 100644 --- a/src/build/libsolv/Jamfile +++ b/src/build/libsolv/Jamfile @@ -16,6 +16,7 @@ DEFINES = HAIKU ENABLE_HAIKU VERSION=\\\"$(libsolvVersion)\\\" + _GNU_SOURCE ; # One of the following must be defined: