summaryrefslogtreecommitdiffstats
path: root/src/corelib/corelib.pro
diff options
context:
space:
mode:
authorRalf Nolden <nolden@kde.org>2016-06-22 13:23:32 +0200
committerRalf Nolden <nolden@kde.org>2016-06-22 16:25:22 +0000
commit9caac0f176040b4da48d3ea289683b0b082cf729 (patch)
tree0801b05f4e576336b319cf92ac23fcac36e750c9 /src/corelib/corelib.pro
parentf968bd665eb16d983a536dd61b27b8885457f574 (diff)
Add OpenBSD to list of targets that can't use --no-undefined in qtcore
A prior commit has already added the resetting of QMAKE_LFLAGS_NOUNDEF in corelib.pro for FreeBSD due to environ(7) not being part of libc. OpenBSD has the same issue, so add it to the list of BSD systems affected for resetting the flags for qtcore. Change-Id: I50a62271ffa05a9976e802de420d47a1425359c4 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/corelib.pro')
-rw-r--r--src/corelib/corelib.pro5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/corelib.pro b/src/corelib/corelib.pro
index 37f33253e0..4fe839d9c9 100644
--- a/src/corelib/corelib.pro
+++ b/src/corelib/corelib.pro
@@ -29,8 +29,9 @@ ANDROID_PERMISSIONS = \
android.permission.WRITE_EXTERNAL_STORAGE
# QtCore can't be compiled with -Wl,-no-undefined because it uses the "environ"
-# variable and on FreeBSD, this variable is in the final executable itself
-freebsd: QMAKE_LFLAGS_NOUNDEF =
+# variable and on FreeBSD and OpenBSD, this variable is in the final executable itself.
+# OpenBSD 6.0 will include environ in libc.
+freebsd|openbsd: QMAKE_LFLAGS_NOUNDEF =
load(qfeatures)