Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
3825175b
Commit
3825175b
authored
Jan 19, 2021
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python/build/ffmpeg.py: remove obsolete -no-integrated-as workaround
parent
68f4be32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
build.py
android/build.py
+1
-1
ffmpeg.py
python/build/ffmpeg.py
+2
-7
No files found.
android/build.py
View file @
3825175b
...
...
@@ -103,7 +103,7 @@ class AndroidNdkToolchain:
llvm_bin
=
os
.
path
.
join
(
llvm_path
,
'bin'
)
self
.
cc
=
os
.
path
.
join
(
llvm_bin
,
'clang'
)
self
.
cxx
=
os
.
path
.
join
(
llvm_bin
,
'clang++'
)
common_flags
+=
' -target '
+
llvm_triple
+
' -
integrated-as -
gcc-toolchain '
+
toolchain_path
common_flags
+=
' -target '
+
llvm_triple
+
' -gcc-toolchain '
+
toolchain_path
common_flags
+=
' -fvisibility=hidden -fdata-sections -ffunction-sections'
...
...
python/build/ffmpeg.py
View file @
3825175b
...
...
@@ -10,11 +10,6 @@ class FfmpegProject(Project):
self
.
configure_args
=
configure_args
self
.
cppflags
=
cppflags
def
_filter_cflags
(
self
,
flags
):
# FFmpeg expects the GNU as syntax
flags
=
flags
.
replace
(
' -integrated-as '
,
' -no-integrated-as '
)
return
flags
def
build
(
self
,
toolchain
):
src
=
self
.
unpack
(
toolchain
)
build
=
self
.
make_build_path
(
toolchain
)
...
...
@@ -36,8 +31,8 @@ class FfmpegProject(Project):
'--cc='
+
toolchain
.
cc
,
'--cxx='
+
toolchain
.
cxx
,
'--nm='
+
toolchain
.
nm
,
'--extra-cflags='
+
self
.
_filter_cflags
(
toolchain
.
cflags
)
+
' '
+
toolchain
.
cppflags
+
' '
+
self
.
cppflags
,
'--extra-cxxflags='
+
self
.
_filter_cflags
(
toolchain
.
cxxflags
)
+
' '
+
toolchain
.
cppflags
+
' '
+
self
.
cppflags
,
'--extra-cflags='
+
toolchain
.
cflags
+
' '
+
toolchain
.
cppflags
+
' '
+
self
.
cppflags
,
'--extra-cxxflags='
+
toolchain
.
cxxflags
+
' '
+
toolchain
.
cppflags
+
' '
+
self
.
cppflags
,
'--extra-ldflags='
+
toolchain
.
ldflags
,
'--extra-libs='
+
toolchain
.
libs
,
'--ar='
+
toolchain
.
ar
,
...
...
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