0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-17 09:28:21 +02: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"])
])
dnl Enables matrix_type attribute for vectors of vectors etc
AM_COND_IF([CLANG11],
[
RB_VAR_PREPEND([CXXFLAGS], ["-fenable-matrix"])
])
dnl
dnl Machine Tuning
dnl