History

configure: do not bypass cpuflags section if --cpu not given

This will allow arch-specific ways of determining the target variant when none is specified on the command line.

Mans Rullgard committed 13 years ago

Commit 9ebd45c1 parent c29d49c1 file · +5 −6Browse files

Unified · Split

configure+5−6
@@ -2524,10 +2524,7 @@ is_in $arch $ARCH_LIST || warn "unknown architecture $arch" · 2523 unmodified lines
2524enable $arch2524enable $arch
2525 2525
2526# Add processor-specific flags2526# Add processor-specific flags
2527if test "$cpu" = generic; then2527if enabled aarch64; then
2528 : do nothing
2529
2530elif enabled aarch64; then
2531 2528
2532 case $cpu in2529 case $cpu in
2533 armv*)2530 armv*)
@@ -2680,8 +2677,10 @@ elif enabled x86; then · 146 unmodified lines
2680 2677
2681fi2678fi
2682 2679
2683add_cflags $cpuflags2680if [ "$cpu" != generic ]; then
2684add_asflags $cpuflags2681 add_cflags $cpuflags
2682 add_asflags $cpuflags
2683fi
2685 2684
2686# compiler sanity check2685# compiler sanity check
2687check_exec <<EOF2686check_exec <<EOF

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