[yast-commit] [libyui/libyui] c4221b: Fix building with cmake 3.1 (PREFIX, -fPIC related...
Branch: refs/heads/cmake31 Home: https://github.com/libyui/libyui Commit: c4221b9712d7c711d4fdaa971ec4a98a2b839ed7 https://github.com/libyui/libyui/commit/c4221b9712d7c711d4fdaa971ec4a98a2b83... Author: Martin Vidner <martin@vidner.net> Date: 2015-01-12 (Mon, 12 Jan 2015) Changed paths: M Rakefile M buildtools/CMakeLists.common M buildtools/Config.cmake.in M buildtools/LibyuiCommon.cmake M buildtools/config.h.in M buildtools/template.pc.in Log Message: ----------- Fix building with cmake 3.1 (PREFIX, -fPIC related, boo#911875). cmake 3.1 started using the variable PREFIX for compiler detection. The libyui cmakefiles used it too and this conflict resulted in: --- The CXX compiler identification is GNU 4.8.3 +-- The CXX compiler identification is unknown ... /bin/ld: CMakeFiles/yui.dir/YUI.cc.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC It is easy to avoid this by renaming our variable PREFIX -> YPREFIX. Commit: 40c30affb4c59f846a0085fa57f92f96c9dbc4be https://github.com/libyui/libyui/commit/40c30affb4c59f846a0085fa57f92f96c9db... Author: Martin Vidner <martin@vidner.net> Date: 2015-01-12 (Mon, 12 Jan 2015) Changed paths: M ChangeLog M VERSION.cmake Log Message: ----------- version + changelog Compare: https://github.com/libyui/libyui/compare/c4221b9712d7^...40c30affb4c5
participants (1)
-
GitHub