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
b59d06d5
Commit
b59d06d5
authored
Mar 07, 2016
by
Shivraj Patil
Committed by
Michael Niedermayer
Mar 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: add check_inline_asm_flags()
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
8a90e0fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
configure
configure
+19
-0
No files found.
configure
View file @
b59d06d5
...
...
@@ -918,6 +918,25 @@ void foo(void){ __asm__ volatile($code); }
EOF
}
check_inline_asm_flags
(){
log check_inline_asm_flags
"
$@
"
name
=
"
$1
"
code
=
"
$2
"
flags
=
''
shift
2
while
[
"
$1
"
!=
""
]
;
do
append flags
$1
shift
done
;
disable
$name
cat
>
$TMPC
<<
EOF
void foo(void){ __asm__ volatile(
$code
); }
EOF
log_file
$TMPC
check_cmd
$cc
$CPPFLAGS
$CFLAGS
$flags
"
$@
"
$CC_C
$(
cc_o
$TMPO
)
$TMPC
&&
enable
$name
&&
add_cflags
$flags
&&
add_asflags
$flags
&&
add_ldflags
$flags
}
check_insn
(){
log check_insn
"
$@
"
check_inline_asm
${
1
}
_inline
"
\"
$2
\"
"
...
...
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