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
bf38959a
Commit
bf38959a
authored
Dec 15, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Move optflags checks to a more sensible place
parent
381a4e31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
configure
configure
+3
-4
No files found.
configure
View file @
bf38959a
...
@@ -4926,6 +4926,9 @@ check_optflags(){
...
@@ -4926,6 +4926,9 @@ check_optflags(){
enabled lto
&&
check_ldflags
"
$@
"
enabled lto
&&
check_ldflags
"
$@
"
}
}
check_optflags
$optflags
check_optflags
-fno-math-errno
check_optflags
-fno-signed-zeros
if
enabled lto
;
then
if
enabled lto
;
then
test
"
$cc_type
"
!=
"
$ld_type
"
&&
die
"LTO requires same compiler and linker"
test
"
$cc_type
"
!=
"
$ld_type
"
&&
die
"LTO requires same compiler and linker"
...
@@ -4933,10 +4936,6 @@ if enabled lto; then
...
@@ -4933,10 +4936,6 @@ if enabled lto; then
check_ldflags
-flto
$cpuflags
check_ldflags
-flto
$cpuflags
fi
fi
check_optflags
$optflags
check_optflags
-fno-math-errno
check_optflags
-fno-signed-zeros
if
enabled icc
;
then
if
enabled icc
;
then
# Just warnings, no remarks
# Just warnings, no remarks
check_cflags
-w1
check_cflags
-w1
...
...
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