From: Debian Qt/KDE Maintainers Date: Sun, 20 Oct 2019 19:33:00 +0000 (+0100) Subject: gnukfreebsd_linker_warnings X-Git-Tag: archive/raspbian/5.12.5+dfsg-2+rpi1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8ae9989ea60c0e26e28937931ab8e4124a02fd16;p=qtbase-opensource-src.git gnukfreebsd_linker_warnings Gbp-Pq: Name gnukfreebsd_linker_warnings.diff --- 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];",