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
3461if [ "$cpu" != generic ]; then3461if [ "$cpu" != generic ]; then
3462 add_cflags $cpuflags3462 add_cflags $cpuflags
3463 add_asflags $cpuflags3463 add_asflags $cpuflags
3464 test "$cc_type" = "$ld_type" && add_ldflags $cpuflags
3464fi3465fi
3465 3466
3466# compiler sanity check3467# 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