diff --git a/mythtv/configure b/mythtv/configure
index 4aa8727..7583aae 100755
|
a
|
b
|
fi
|
| 5321 | 5321 | |
| 5322 | 5322 | check_optflags(){ |
| 5323 | 5323 | check_cflags "$@" |
| | 5324 | check_cxxflags "$@" |
| 5324 | 5325 | enabled lto && check_ldflags "$@" |
| 5325 | 5326 | } |
| 5326 | 5327 | |
| … |
… |
check_optflags(){
|
| 5328 | 5329 | if enabled lto; then |
| 5329 | 5330 | test "$cc_type" != "$ld_type" && die "LTO requires same compiler and linker" |
| 5330 | 5331 | check_cflags -flto |
| | 5332 | check_cxxflags -flto |
| 5331 | 5333 | check_ldflags -flto $cpuflags |
| 5332 | 5334 | fi |
| 5333 | 5335 | |
| … |
… |
fi
|
| 5569 | 5571 | |
| 5570 | 5572 | if [ -n "$optflags" ]; then |
| 5571 | 5573 | add_cflags $optflags |
| | 5574 | add_cxxflags $optflags |
| 5572 | 5575 | elif enabled small; then |
| 5573 | 5576 | add_cflags $cflags_size |
| | 5577 | add_cxxflags $cflags_size |
| 5574 | 5578 | elif enabled optimizations; then |
| 5575 | 5579 | add_cflags $cflags_speed |
| | 5580 | add_cxxflags $cflags_speed |
| 5576 | 5581 | else |
| 5577 | 5582 | add_cflags $cflags_noopt |
| | 5583 | add_cxxflags $cflags_noopt |
| 5578 | 5584 | fi |
| 5579 | 5585 | check_cflags -fno-math-errno |
| | 5586 | check_cxxflags -fno-math-errno |
| 5580 | 5587 | check_cflags -fno-signed-zeros |
| | 5588 | check_cxxflags -fno-signed-zeros |
| | 5589 | |
| 5581 | 5590 | check_cc -mno-red-zone <<EOF && noredzone_flags="-mno-red-zone" |
| 5582 | 5591 | int x; |
| 5583 | 5592 | EOF |