diff options
-rw-r--r-- | games-action/prismlauncher/prismlauncher-7.2-r1.ebuild (renamed from games-action/prismlauncher/prismlauncher-7.2.ebuild) | 6 | ||||
-rw-r--r-- | games-action/prismlauncher/prismlauncher-9999.ebuild | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/games-action/prismlauncher/prismlauncher-7.2.ebuild b/games-action/prismlauncher/prismlauncher-7.2-r1.ebuild index 1d4b9a04996f..c60586d65332 100644 --- a/games-action/prismlauncher/prismlauncher-7.2.ebuild +++ b/games-action/prismlauncher/prismlauncher-7.2-r1.ebuild @@ -108,9 +108,11 @@ RDEPEND=" src_prepare() { cmake_src_prepare + sed -i -e 's/-Werror//' CMakeLists.txt || die 'Failed to remove -Werror via sed' + # Prevent conflicting with the user's flags - # See https://bugs.gentoo.org/848765 for more info - sed -i -e 's/-Werror//' -e 's/-D_FORTIFY_SOURCE=2//' CMakeLists.txt || die 'Failed to remove -Werror and -D_FORTIFY_SOURCE via sed' + # See https://bugs.gentoo.org/848765 and https://bugs.gentoo.org/911858 for more info + sed -i -e "/CMAKE_CXX_FLAGS_RELEASE/d" CMakeLists.txt || die 'Failed to remove "CMAKE_CXX_FLAGS_RELEASE" from CMakeLists via sed' } src_configure(){ diff --git a/games-action/prismlauncher/prismlauncher-9999.ebuild b/games-action/prismlauncher/prismlauncher-9999.ebuild index 1d4b9a04996f..c60586d65332 100644 --- a/games-action/prismlauncher/prismlauncher-9999.ebuild +++ b/games-action/prismlauncher/prismlauncher-9999.ebuild @@ -108,9 +108,11 @@ RDEPEND=" src_prepare() { cmake_src_prepare + sed -i -e 's/-Werror//' CMakeLists.txt || die 'Failed to remove -Werror via sed' + # Prevent conflicting with the user's flags - # See https://bugs.gentoo.org/848765 for more info - sed -i -e 's/-Werror//' -e 's/-D_FORTIFY_SOURCE=2//' CMakeLists.txt || die 'Failed to remove -Werror and -D_FORTIFY_SOURCE via sed' + # See https://bugs.gentoo.org/848765 and https://bugs.gentoo.org/911858 for more info + sed -i -e "/CMAKE_CXX_FLAGS_RELEASE/d" CMakeLists.txt || die 'Failed to remove "CMAKE_CXX_FLAGS_RELEASE" from CMakeLists via sed' } src_configure(){ |