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
434b44cd
Commit
434b44cd
authored
Mar 08, 2018
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Simplify vararg check
parent
8c7554e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
configure
configure
+2
-3
No files found.
configure
View file @
434b44cd
...
@@ -4240,12 +4240,11 @@ od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
...
@@ -4240,12 +4240,11 @@ od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
check_gas
()
{
check_gas
()
{
log
"check_gas using '
$as
' as AS"
log
"check_gas using '
$as
' as AS"
# :vararg is used on aarch64, arm and ppc altivec
# :vararg is used on aarch64, arm and ppc altivec
test_as
<<
EOF
|| return 1
check_as vararg
"
.macro m n, y:vararg=0
.macro m n, y:vararg=0
\n
: .int
\y
\n
: .int
\y
.endm
.endm
m x
m x"
||
return
1
EOF
# .altmacro is only used in arm asm
# .altmacro is only used in arm asm
!
enabled arm
||
check_as gnu_as
".altmacro"
!
enabled arm
||
check_as gnu_as
".altmacro"
}
}
...
...
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