summaryrefslogtreecommitdiffstats
path: root/src/openglwidgets/qopenglwidget.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2023-06-06 08:47:41 -0700
committerThiago Macieira <thiago.macieira@intel.com>2023-06-16 01:07:33 +0000
commit166e7922695e9b145e0ce33e3674a1716021a1e3 (patch)
tree32926a95da17607cc0a4a3295fd6dcec5d80ee97 /src/openglwidgets/qopenglwidget.cpp
parent44b5ad01f0da55a351e0855e1173acfbef77221d (diff)
QProcess/FreeBSD: remove the workaround allowing undefined symbols
On FreeBSD, the environ variable doesn't come from libc, but is instead inserted during linking. See ccf74b592809e0c5a613eff27d6431a4c659e368 (5.6) for more information. But instead of allowing undefined symbols in QtCore, let's use a weakref to environ so this one symbol is allowed to be undefined. It won't be, but the linker doesn't know. FreeBSD appears to be the only BSD to require this. We used to apply the same linker option to OpenBSD in Qt 5, but neither the OpenBSD or nor the NetBSD ports trees[1][2] carry a patch for this, so I don't think it's necessary. [1] https://github.com/openbsd/ports/tree/master/x11/qt6/qtbase/patches [2] https://github.com/NetBSD/pkgsrc/tree/trunk/x11/qt6-qtbase/patches Pick-to: 6.6 Change-Id: I63b988479db546dabffcfffd17661c839014771a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/openglwidgets/qopenglwidget.cpp')
0 files changed, 0 insertions, 0 deletions