History

configure: Set the initial ldflags to match the cflags

Some gcc-based toolchain would fail to link if the abi set by the cpuflags does not match the default.

Luca Barbato committed 11 years ago

Commit 678f7881 parent 1a4c5fe1 file · +1 −0Browse files

Unified · Split

configure+1−0
@@ -3461,6 +3461,7 @@ fi · 3460 unmodified lines
34613461 if [ "$cpu" != generic ]; then
34623462 add_cflags $cpuflags
34633463 add_asflags $cpuflags
3464+ test "$cc_type" = "$ld_type" && add_ldflags $cpuflags
34643465 fi
34653466
34663467 # compiler sanity check

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t