summaryrefslogtreecommitdiff
path: root/debian/patches/gnukfreebsd_cloexec.diff
blob: e97273a9a86ca8e562fe78bb8c65659cf5083320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: catch linker warnings in cloexec test
Author: Dmitry Shachnev <mitya57@debian.org>
Forwarded: https://codereview.qt-project.org/163214 (rejected)
Bug: https://bugs.debian.org/827935
Last-Update: 2017-09-23

--- a/src/corelib/configure.json
+++ b/src/corelib/configure.json
@@ -236,6 +236,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": [