summaryrefslogtreecommitdiff
path: root/media-libs/glm/glm-0.9.9.2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/glm/glm-0.9.9.2.ebuild')
-rw-r--r--media-libs/glm/glm-0.9.9.2.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/media-libs/glm/glm-0.9.9.2.ebuild b/media-libs/glm/glm-0.9.9.2.ebuild
index 8f93505e3279..5dd83d7c5081 100644
--- a/media-libs/glm/glm-0.9.9.2.ebuild
+++ b/media-libs/glm/glm-0.9.9.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -11,11 +11,13 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( HappyBunny MIT )"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx cpu_flags_x86_avx2"
RDEPEND="virtual/opengl"
+PATCHES=( "${FILESDIR}"/${P}-avx.patch )
+
src_configure() {
if use test; then
local mycmakeargs=(