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
f87e29a6
Commit
f87e29a6
authored
Dec 14, 2015
by
yukari yakumo
Committed by
Michael Niedermayer
Dec 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: support --cpu=host and Clang
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
0f387f2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
configure
configure
+11
-0
No files found.
configure
View file @
f87e29a6
...
...
@@ -3981,6 +3981,17 @@ if test "$cpu" = host; then
}
cpu
=
$(
check_native
-march
||
check_native
-mcpu
)
;;
clang
)
check_native
(){
$cc
$1
=
native
-v
-c
-o
$TMPO
$TMPC
>
$TMPE
2>&1
||
return
sed
-n
"/cc1.*-target-cpu /{
s/.*-target-cpu
\\
([^ ]*
\\
).*/
\\
1/
p
q
}"
$TMPE
}
cpu
=
$(
check_native
-march
)
;;
esac
test
"
${
cpu
:-
host
}
"
=
host
&&
...
...
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