[vlc-commits] [Git][videolan/vlc][master] contrib: recognize little-endian PPC64

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Aug 27 11:24:04 UTC 2023



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
ad437529 by Sean McGovern at 2023-08-27T10:48:53+00:00
contrib: recognize little-endian PPC64

- - - - -


2 changed files:

- contrib/src/get-arch.sh
- contrib/src/main.mak


Changes:

=====================================
contrib/src/get-arch.sh
=====================================
@@ -22,6 +22,9 @@ case "$HOST" in
 	powerpc64-*|ppc64-*)
 		ARCH="ppc64"
 		;;
+	powerpc64le-*|ppc64le-*)
+		ARCH="ppc64le"
+		;;
 	*-*)
 		ARCH="${HOST%%-*}"
 		;;


=====================================
contrib/src/main.mak
=====================================
@@ -202,7 +202,7 @@ BUILDLDFLAGS ?= $(BUILDCFLAGS)
 # Do not export variables above! Use HOSTVARS or BUILDVARS.
 
 # Do the FPU detection, after we have figured out our compilers and flags.
-ifneq ($(findstring $(ARCH),aarch64 i386 ppc ppc64 sparc sparc64 x86_64),)
+ifneq ($(findstring $(ARCH),aarch64 i386 ppc ppc64 ppc64le sparc sparc64 x86_64),)
 # This should be consistent with include/vlc_cpu.h
 HAVE_FPU = 1
 else ifneq ($(findstring $(ARCH),arm),)



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

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


VideoLAN code repository instance


More information about the vlc-commits mailing list