0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 22:41:12 +01:00

configure: Enable matrix type support for clang-11+.

This commit is contained in:
Jason Volk 2021-02-26 14:49:10 -08:00
parent 14662b51ce
commit b1d6defd5a

View file

@ -759,6 +759,12 @@ AM_COND_IF([GCC],
RB_VAR_PREPEND([CXXFLAGS], ["-flax-vector-conversions"]) RB_VAR_PREPEND([CXXFLAGS], ["-flax-vector-conversions"])
]) ])
dnl Enables matrix_type attribute for vectors of vectors etc
AM_COND_IF([CLANG11],
[
RB_VAR_PREPEND([CXXFLAGS], ["-fenable-matrix"])
])
dnl dnl
dnl Machine Tuning dnl Machine Tuning
dnl dnl