mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
package/cryptopp: disable altivec if needed
Fix the following build failure raised since commit
bf4cf9de83:
blake2s_simd.cpp:715:8: error: 'uint32x4_p' does not name a type; did you mean 'uint32_t'?
715 | inline uint32x4_p VecLoad32(const T* p)
| ^~~~~~~~~~
| uint32_t
Fixes:
- http://autobuild.buildroot.org/results/9e9f8559b12b8e2cf99cfab435fa7dd5796bbcd5
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
85ee640eb5
commit
d0339905fc
@@ -47,6 +47,10 @@ ifneq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_9),y)
|
||||
CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_AVX2
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
|
||||
CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_ALTIVEC
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_ARM_CPU_HAS_NEON),y)
|
||||
CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_ARM_NEON
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user