diff options
author | Ralf Nolden <nolden@kde.org> | 2016-06-22 13:23:32 +0200 |
---|---|---|
committer | Ralf Nolden <nolden@kde.org> | 2016-06-22 16:25:22 +0000 |
commit | 9caac0f176040b4da48d3ea289683b0b082cf729 (patch) | |
tree | 0801b05f4e576336b319cf92ac23fcac36e750c9 | |
parent | f968bd665eb16d983a536dd61b27b8885457f574 (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>
-rw-r--r-- | src/corelib/corelib.pro | 5 |
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) |