Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
25ba361 causes build failures on Ubuntu 16.04 and 18.04 with gcc {{{ /usr/bin/c++ -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/usr/include/Qca-qt5/QtCrypto -fPIE -std=gnu++11 -o CMakeFiles/cmTC_3b936.dir/qcaossl.cpp.o -c /home/even/qgis/QGIS/build/CMakeFiles/CMakeTmp/qcaossl.cpp In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:37:0, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:41, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1, from /usr/include/Qca-qt5/QtCrypto/qca_core.h:36, from /usr/include/Qca-qt5/QtCrypto/qca.h:36, from /usr/include/Qca-qt5/QtCrypto/QtCrypto:1, from /home/even/qgis/QGIS/build/CMakeFiles/CMakeTmp/qcaossl.cpp:2: /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1067:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)." # error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\ ^ }}} qtglobal.h doesn't like -fPIC and -fPIE together See #6093 (comment)
- Loading branch information