From 8ae9989ea60c0e26e28937931ab8e4124a02fd16 Mon Sep 17 00:00:00 2001 From: Debian Qt/KDE Maintainers Date: Sun, 20 Oct 2019 20:33:00 +0100 Subject: [PATCH] gnukfreebsd_linker_warnings Gbp-Pq: Name gnukfreebsd_linker_warnings.diff --- src/corelib/configure.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/corelib/configure.json b/src/corelib/configure.json index de8d26a12..04f0695e1 100644 --- a/src/corelib/configure.json +++ b/src/corelib/configure.json @@ -285,6 +285,7 @@ "label": "O_CLOEXEC", "type": "compile", "test": { + "qmake": "QMAKE_LFLAGS += -Wl,--fatal-warnings", "head": "#define _GNU_SOURCE 1", "include": [ "sys/types.h", "sys/socket.h", "fcntl.h", "unistd.h" ], "main": [ @@ -340,6 +341,7 @@ "include": "sys/stat.h", "main": "futimens(-1, 0);", "qmake": [ + "QMAKE_LFLAGS += -Wl,--fatal-warnings", "# Block futimens() on Apple platforms unless it's available on ALL", "# deployment targets. This simplifies the logic at the call site", "# dramatically, as it isn't strictly needed compared to futimes().", @@ -367,6 +369,7 @@ "label": "getentropy()", "type": "compile", "test": { + "qmake": "QMAKE_LFLAGS += -Wl,--fatal-warnings", "include": "unistd.h", "main": [ "char buf[32];", -- 2.30.2