path: root/mkspecs/unsupported/vxworks-simpentium-g++
diff options
authorThiago Macieira <>2016-01-29 13:27:53 -0800
committerJani Heikkinen <>2016-02-02 19:23:47 +0000
commitccf74b592809e0c5a613eff27d6431a4c659e368 (patch)
treec4b08471a2dfa3dd19d11d7554fa4227178b7b7f /mkspecs/unsupported/vxworks-simpentium-g++
parent3726c46735edb23ad37af818ff7d52d661ec87e7 (diff)
Fix build on FreeBSD: 'environ' is not defined in a library
On FreeBSD, this variable is defined as a common symbol in the object file /usr/lib/crt1.o, which is injected into the final application by the compiler. This means when linking any library, 'environ' cannot be found and we can't use -Wl,-no-undefined on FreeBSD. I don't know why this wasn't caught before. Most likely, we failed to pass the linker flag until some recent change to the buildsystem. qprocess_unix.cpp:279: undefined reference to `environ' Change-Id: I7a9e11d7b64a4cc78e24ffff142e02dbf188bca5 Reviewed-by: Simon Hausmann <> Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'mkspecs/unsupported/vxworks-simpentium-g++')
0 files changed, 0 insertions, 0 deletions