diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-17 11:37:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-17 11:37:14 +0000 |
commit | f8deb4f754798d63fb6b82178452ee846df8475f (patch) | |
tree | 8f187327b54a42741f986268292e3096aadc4019 /games-emulation/pcsx2/pcsx2-1.7.5474.ebuild | |
parent | c4a46526c2232ba00b0ccc97f2d2a30b0c6baea5 (diff) |
gentoo auto-resync : 17:02:2024 - 11:37:14
Diffstat (limited to 'games-emulation/pcsx2/pcsx2-1.7.5474.ebuild')
-rw-r--r-- | games-emulation/pcsx2/pcsx2-1.7.5474.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/games-emulation/pcsx2/pcsx2-1.7.5474.ebuild b/games-emulation/pcsx2/pcsx2-1.7.5474.ebuild index 5166d24d2965..9810fcf44af1 100644 --- a/games-emulation/pcsx2/pcsx2-1.7.5474.ebuild +++ b/games-emulation/pcsx2/pcsx2-1.7.5474.ebuild @@ -23,7 +23,7 @@ LICENSE=" ISC LGPL-2.1+ LGPL-3+ MIT OFL-1.1 ZLIB public-domain " SLOT="0" -IUSE="alsa cpu_flags_x86_sse4_1 jack pulseaudio sndio test vulkan wayland" +IUSE="alsa cpu_flags_x86_sse4_1 +clang jack pulseaudio sndio test vulkan wayland" REQUIRED_USE="cpu_flags_x86_sse4_1" # dies at runtime if no support RESTRICT="!test? ( test )" @@ -65,7 +65,7 @@ DEPEND=" " BDEPEND=" dev-qt/qttools:6[linguist] - sys-devel/clang:* + clang? ( sys-devel/clang:* ) wayland? ( dev-util/wayland-scanner kde-frameworks/extra-cmake-modules @@ -93,10 +93,10 @@ src_prepare() { } src_configure() { - # upstream only supports clang and ignores gcc issues, e.g. + # note that upstream only supports clang and ignores gcc issues, e.g. # https://github.com/PCSX2/pcsx2/issues/10624#issuecomment-1890326047 # (CMakeLists.txt also gives a big warning if compiler is not clang) - if ! tc-is-clang; then + if use clang && ! tc-is-clang; then local -x CC=${CHOST}-clang CXX=${CHOST}-clang++ strip-unsupported-flags fi |