Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
8bba45f8
Commit
8bba45f8
authored
Aug 29, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: turn off Thumb ISA for libavcodec and libmad
Conflicts: extras/contrib/src/Makefile
parent
3c6c622c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
1 deletion
+22
-1
extras/contrib/bootstrap
extras/contrib/bootstrap
+1
-0
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+11
-1
extras/contrib/src/Patches/ffmpeg-avcodec-no-thumb.patch
extras/contrib/src/Patches/ffmpeg-avcodec-no-thumb.patch
+10
-0
No files found.
extras/contrib/bootstrap
View file @
8bba45f8
...
...
@@ -242,6 +242,7 @@ case $HOST in
EXTRA_CFLAGS
=
" -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a"
EXTRA_CLFAGS
=
"
$EXTRA_CFLAGS
-mfpu=vfp"
EXTRA_CFLAGS
=
"
$EXTRA_CFLAGS
-mthumb -mthumb-interwork"
echo
'HAVE_ISA_THUMB = 1'
>>
config.mak
fi
;;
*
86_64
*
linux
*
)
...
...
extras/contrib/src/Makefile
View file @
8bba45f8
...
...
@@ -170,6 +170,10 @@ endif
X264CONF
+=
--enable-pic
endif
ifdef
HAVE_ISA_THUMB
NOTHUMB
?=
-mno-thumb
endif
DATE
=
`
date
+%Y-%m-%d
`
# ***************************************************************************
...
...
@@ -631,7 +635,7 @@ ifdef HAVE_DARWIN_OS
endif
.mad
:
libmad
(
cd
$<
;
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
"-O3"
&&
make
&&
make
install
)
(
cd
$<
;
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
"-O3
$(NOTHUMB)
"
&&
make
&&
make
install
)
$(INSTALL_NAME)
touch
$@
...
...
@@ -984,6 +988,9 @@ DISTCLEAN_PKG += amrwb-$(LIBAMR_WB_VERSION).tar.bz2
ifdef
SVN
ffmpeg
:
$(SVN)
co
$(FFMPEG_SVN)
ffmpeg
ifdef
HAVE_ISA_THUMB
patch
-p0
< Patches/ffmpeg-avcodec-no-thumb.patch
endif
ifdef
HAVE_WINCE
patch
-p1
< Patches/ffmpeg-svn-wince.patch
endif
...
...
@@ -1039,6 +1046,9 @@ ifdef HAVE_UCLIBC
else
.ffmpeg
:
ffmpeg .lame .gsm
endif
endif
ifdef
HAVE_ISA_THUMB
patch
-p0
< Patches/ffmpeg-avcodec-no-thumb.patch
endif
(
cd
$<
;
$(HOSTCC)
./configure
$(FFMPEGCONF)
--prefix
=
$(PREFIX)
--extra-cflags
=
"
$(CFLAGS)
$(FFMPEG_CFLAGS)
"
--extra-ldflags
=
"
$(LDFLAGS)
"
$(FFMPEGCONF)
--disable-shared
--enable-static
&&
make
&&
make install-libs install-headers
)
touch
$@
...
...
extras/contrib/src/Patches/ffmpeg-avcodec-no-thumb.patch
0 → 100644
View file @
8bba45f8
Index: ffmpeg/libavcodec/Makefile
===================================================================
--- ffmpeg/libavcodec/Makefile (révision 19635)
+++ ffmpeg/libavcodec/Makefile (copie de travail)
@@ -1,4 +1,5 @@
include $(SUBDIR)../config.mak
+CFLAGS+=-mno-thumb
NAME = avcodec
FFLIBS = avutil
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment