diff options
author | Mike Sullivan <mksully22@gmail.com> | 2019-03-18 20:33:09 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-04-02 19:19:24 +0000 |
commit | f7a8723189832a83c0e6660772ac56f9163d5c81 (patch) | |
tree | 1638a236b99191aed31c257b968580dd88d1ffd5 /community/glm/fix-const-expr.patch | |
parent | 5698e9e74f3217e0a58fa9cd8df6fbd48b2869c4 (diff) | |
download | aports-f7a8723189832a83c0e6660772ac56f9163d5c81.tar.bz2 aports-f7a8723189832a83c0e6660772ac56f9163d5c81.tar.xz |
commmunity/glm: fix constexpr with GCC
Diffstat (limited to 'community/glm/fix-const-expr.patch')
-rw-r--r-- | community/glm/fix-const-expr.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/community/glm/fix-const-expr.patch b/community/glm/fix-const-expr.patch new file mode 100644 index 0000000000..c977036983 --- /dev/null +++ b/community/glm/fix-const-expr.patch @@ -0,0 +1,10 @@ +--- a/glm/detail/setup.hpp
++++ b/glm/detail/setup.hpp
+@@ -283,7 +283,6 @@
+ #else
+ # define GLM_HAS_CONSTEXPR ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && GLM_HAS_INITIALIZER_LISTS && (\
+ ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_COMPILER >= GLM_COMPILER_INTEL17)) || \
+- ((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC6)) || \
+ ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC15))))
+ #endif
+
|