diff options
author | Michael Palimaka <kensington@gentoo.org> | 2018-03-10 12:54:38 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2018-03-10 12:55:44 +1100 |
commit | 2387fb8372d617c08ad5a63404c1699cd0a0d3b5 (patch) | |
tree | 0448a5a1956ab1d1722e959d45c4c3486fd7b236 /eclass/qt5-build.eclass | |
parent | dev-qt/qtvirtualkeyboard: sync keywords with main tree (diff) | |
download | qt-2387fb8372d617c08ad5a63404c1699cd0a0d3b5.tar.gz qt-2387fb8372d617c08ad5a63404c1699cd0a0d3b5.tar.bz2 qt-2387fb8372d617c08ad5a63404c1699cd0a0d3b5.zip |
qt5-build.eclass: remove version conditional for passing -platform on freebsd
Bug: https://bugs.gentoo.org/649406
Diffstat (limited to 'eclass/qt5-build.eclass')
-rw-r--r-- | eclass/qt5-build.eclass | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 0e7111b5..2f95c64e 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -545,14 +545,15 @@ qt5_base_configure() { -testsdir "${QT5_TESTSDIR}" # force appropriate compiler + if use kernel_FreeBSD; then + if tc-is-gcc; then + echo -platform freebsd-g++ + elif tc-is-clang; then + echo -platform freebsd-clang + fi + fi $(if [[ ${QT5_MINOR_VERSION} -ge 10 ]]; then - if use kernel_FreeBSD; then - if tc-is-gcc; then - echo -platform freebsd-g++ - elif tc-is-clang; then - echo -platform freebsd-clang - fi - elif use kernel_linux; then + if use kernel_linux; then if tc-is-gcc; then echo -platform linux-g++ elif tc-is-clang; then |