[vlc-commits] [Git][videolan/vlc][master] contrib: assume iOS armv7 targets have NEON support
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Oct 7 09:22:30 UTC 2022
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
81192e6b by Steve Lhomme at 2022-10-07T08:34:08+00:00
contrib: assume iOS armv7 targets have NEON support
This is strictly identical to the previous situation since HAVE_NEON is
set during bootstrapping on iOS only for armv7 targets anyway.
The commit prepares the removal of the HAVE_NEON flag completely in later
commits, which is redundant with armv7 check since we don't support
non-neon-capable armv7 targets anymore.
- - - - -
2 changed files:
- contrib/src/ffmpeg/rules.mak
- contrib/src/main.mak
Changes:
=====================================
contrib/src/ffmpeg/rules.mak
=====================================
@@ -130,7 +130,7 @@ FFMPEGCONF += --cpu=core2
endif
ifdef HAVE_IOS
FFMPEGCONF += --enable-pic --extra-ldflags="$(EXTRA_CFLAGS) -isysroot $(IOS_SDK)"
-ifdef HAVE_NEON
+ifeq ($(ARCH),arm) # gas-preprocessor.pl
FFMPEGCONF += --as="$(AS)"
endif
endif
=====================================
contrib/src/main.mak
=====================================
@@ -119,7 +119,7 @@ endif
CCAS=$(CC) -c
ifdef HAVE_IOS
-ifdef HAVE_NEON
+ifeq ($(ARCH),arm)
AS=perl $(abspath $(VLC_TOOLS)/bin/gas-preprocessor.pl) $(CC)
CCAS=gas-preprocessor.pl $(CC) -c
endif
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/81192e6b256cc5658a2750bcb6ea1cd1c577eb39
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/81192e6b256cc5658a2750bcb6ea1cd1c577eb39
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