Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
9f8cf50e
Commit
9f8cf50e
authored
Aug 09, 2014
by
Diego Biurrun
Committed by
Martin Storsjö
Aug 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Enable gas-preprocessor on all OSes but only if available
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
f4312352
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
configure
configure
+13
-3
No files found.
configure
View file @
9f8cf50e
...
...
@@ -2199,8 +2199,6 @@ ranlib="ranlib"
strip
=
"strip"
yasmexe
=
"yasm"
nogas
=
":"
# machine
arch_default
=
$(
uname
-m
)
cpu
=
"generic"
...
...
@@ -3424,7 +3422,6 @@ case $target_os in
add_extralibs
-lpoll
-lgnugetopt
;;
darwin
)
gas
=
"gas-preprocessor.pl
$cc
"
enabled ppc
&&
add_asflags
-force_cpusubtype_ALL
SHFLAGS
=
'-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR)'
enabled x86_32
&&
append SHFLAGS
-Wl
,-read_only_relocs,suppress
...
...
@@ -3783,8 +3780,21 @@ EOF
}
if
enabled_any arm aarch64
||
enabled_all ppc altivec
&&
enabled asm
;
then
nogas
=
:
enabled_any arm aarch64
&&
nogas
=
die
enabled_all ppc altivec
&&
nogas
=
warn
as_noop
=
-v
case
$as_type
in
arm
*
)
gaspp_as_type
=
armasm
;
as_noop
=
-h
;;
gcc
)
gaspp_as_type
=
gas
;;
*
)
gaspp_as_type
=
$as_type
;;
esac
[
$target_os
=
"darwin"
]
&&
gaspp_as_type
=
"apple-
$gaspp_as_type
"
check_cmd gas-preprocessor.pl
-arch
$arch
-as-type
$gaspp_as_type
--
$as
$as_noop
&&
gas
=
"gas-preprocessor.pl -arch
$arch
-as-type
$gaspp_as_type
--
$as
"
if
!
check_gas
;
then
as
=
${
gas
:
=
$as
}
...
...
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