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
06da6943
Commit
06da6943
authored
Oct 22, 2009
by
David Conrad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add clang to detected compilers
Originally committed as revision 20350 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b74d42ee
Show 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 @
06da6943
...
...
@@ -1590,6 +1590,11 @@ elif $cc -version 2>/dev/null | grep -q TMS470; then
esac
done
}
elif
$cc
-v
2>&1 |
grep
-q
clang
;
then
cc_type
=
clang
cc_version
=
__VERSION__
CC_DEPFLAGS
=
'-MMD'
AS_DEPFLAGS
=
'-MMD'
fi
test
-n
"
$cc_type
"
&&
enable
$cc_type
||
echolog
"Unknown C compiler
$cc
"
...
...
@@ -1615,6 +1620,10 @@ if test -n "$sysroot"; then
add_cppflags
-I
"
$sysinclude
"
add_ldflags
--sysroot
=
"
$sysroot
"
;;
clang
)
add_cppflags
-isysroot
=
"
$sysroot
"
add_ldflags
-isysroot
=
"
$sysroot
"
;;
esac
fi
...
...
@@ -2464,6 +2473,8 @@ elif enabled ccc; then
add_cflags
-msg_disable
unreachcode
elif
enabled gcc
;
then
check_cflags
-fno-tree-vectorize
elif
enabled clang
;
then
check_cflags
-Qunused-arguments
fi
if
enabled gprof
;
then
...
...
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