[vlc-commits] [Git][videolan/vlc][master] contrib: check for FPU on RISC-V

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Tue Jan 25 11:42:30 UTC 2022



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
e0c0e009 by Rémi Denis-Courmont at 2022-01-25T09:44:25+00:00
contrib: check for FPU on RISC-V

- - - - -


1 changed file:

- contrib/src/main.mak


Changes:

=====================================
contrib/src/main.mak
=====================================
@@ -188,6 +188,10 @@ ifeq ($(call cppcheck, __SOFTFP__),)
 HAVE_FPU = 1
 endif
 endif
+else ifneq ($(filter riscv%, $(ARCH)),)
+ifneq ($(call cppcheck, __riscv_flen),)
+HAVE_FPU = 1
+endif
 else ifneq ($(call cppcheck, __mips_hard_float),)
 HAVE_FPU = 1
 endif



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e0c0e00927ca65f1f4ed7edddf312a58d2bbac94

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e0c0e00927ca65f1f4ed7edddf312a58d2bbac94
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list