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
100fb0dd
Commit
100fb0dd
authored
Jul 22, 2016
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Allow detecting and using LLVM lld-link as linker for windows
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
79fb0692
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
configure
configure
+12
-0
No files found.
configure
View file @
100fb0dd
...
...
@@ -3262,6 +3262,18 @@ probe_cc(){
# -Qvec- -Qsimd- to prevent miscompilation, -GS for consistency
# with MSVC which enables it by default.
_cflags
=
'-Qms0 -Qvec- -Qsimd- -GS'
elif
$_cc
-? 2>/dev/null |
grep
-q
'LLVM.*Linker'
;
then
# lld can emulate multiple different linkers; in ms link.exe mode,
# the -? parameter gives the help output which contains an identifyable
# string, while it gives an error in other modes.
_type
=
lld-link
# The link.exe mode doesn't have a switch for getting the version,
# but we can force it back to gnu mode and get the version from there.
_ident
=
$(
$_cc
-flavor
gnu
--version
)
_ld_o
=
'-out:$@'
_flags_filter
=
msvc_flags
_ld_lib
=
'lib%.a'
_ld_path
=
'-libpath:'
elif
$_cc
--version
2>/dev/null |
grep
-q
^cparser
;
then
_type
=
cparser
_ident
=
$(
$_cc
--version
|
head
-n1
)
...
...
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