[yast-commit] [libyui/libyui] c4221b: Fix building with cmake 3.1 (PREFIX, -fPIC related...
Branch: refs/heads/master 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 Commit: 0f035c0f627719bfcecc36950d57e824edeb790a https://github.com/libyui/libyui/commit/0f035c0f627719bfcecc36950d57e824edeb... Author: Martin Vidner <martin@vidner.net> Date: 2015-01-13 (Tue, 13 Jan 2015) Changed paths: M ChangeLog M Rakefile M VERSION.cmake 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: ----------- Merge pull request #84 from libyui/cmake31 Fix building with cmake 3.1 (PREFIX, -fPIC related, boo#911875) Compare: https://github.com/libyui/libyui/compare/e71908e28cf0...0f035c0f6277
participants (1)
-
GitHub