Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
fd9795ea
Commit
fd9795ea
authored
Aug 06, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib/libmad: fixed compilation for iOS
parent
c9118e87
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
2 deletions
+30
-2
contrib/src/mad/mad-ios-asm.patch
contrib/src/mad/mad-ios-asm.patch
+21
-0
contrib/src/mad/rules.mak
contrib/src/mad/rules.mak
+9
-2
No files found.
contrib/src/mad/mad-ios-asm.patch
0 → 100644
View file @
fd9795ea
diff -ru libmad/imdct_l_arm.S libmad-fixed/imdct_l_arm.S
--- libmad/imdct_l_arm.S 2001-03-25 22:03:34.000000000 +0200
+++ libmad-fixed/imdct_l_arm.S 2012-08-06 18:16:49.000000000 +0200
@@ -202,7 +202,7 @@
.text
- .align
+ .align 2
.global III_imdct_l
.global _III_imdct_l
@@ -468,7 +468,7 @@
@----
- add r2, pc, #(imdct36_long_karray-.-8) @ r2 = base address of Knn array (PIC safe ?)
+ adr r2, imdct36_long_karray
loop:
contrib/src/mad/rules.mak
View file @
fd9795ea
...
...
@@ -15,11 +15,14 @@ $(TARBALLS)/libmad-$(MAD_VERSION).tar.gz:
libmad
:
libmad-$(MAD_VERSION).tar.gz .sum-mad
$(UNPACK)
ifdef
HAVE_
MACOSX
ifdef
HAVE_
DARWIN_OS
cd
$@
-
$(MAD_VERSION)
&&
sed
\
-e
's%-march=i486%
$(EXTRA_CFLAGS)
$(EXTRA_LDFLAGS)
%'
\
-e
's%-dynamiclib%-dynamiclib -arch
$(ARCH)
%'
\
-i
.orig configure
endif
ifdef
HAVE_IOS
$(APPLY)
$(SRC)
/mad/mad-ios-asm.patch
endif
$(APPLY)
$(SRC)
/mad/mad-noopt.patch
$(MOVE)
...
...
@@ -27,6 +30,10 @@ endif
.mad
:
libmad
touch
libmad/NEWS libmad/AUTHORS libmad/ChangeLog
$(RECONF)
cd
$<
&&
$(HOSTVARS)
CFLAGS
=
"
$(CFLAGS)
-O3
$(NOTHUMB)
"
./configure
$(HOSTCONF)
ifdef
HAVE_IOS
cd
$<
&&
$(HOSTVARS)
CCAS
=
"
$(AS)
"
CFLAGS
=
"
$(CFLAGS)
-O4 -marm
$(NOTHUMB)
"
./configure
$(HOSTCONF)
$(MAD_CONF)
else
cd
$<
&&
$(HOSTVARS)
CFLAGS
=
"
$(CFLAGS)
-O3
$(NOTHUMB)
"
./configure
$(HOSTCONF)
$(MAD_CONF)
endif
cd
$<
&&
$(MAKE)
install
touch
$@
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