Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c248fa3e authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Raise x86 arch requirement to prescott.

Atomic functions used in external/libcxx/include/atomic when compiled with Clang
will require intrinsic functions exist only for prescott or newer CPUs.

BUG: 17530542
Change-Id: I0c9660ed2ffa75b940981eb8165d88934b39aec5
parent 660f3c9a
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -13,11 +13,7 @@ ARCH_X86_HAVE_MOVBE := false
ARCH_X86_HAVE_POPCNT := false


# XXX: This flag is probably redundant, because it should be set by default
# by our toolchain binaries. However, there have been reports that this may
# not always work as intended, so keep it unless we have the time to check
# everything properly.

# Some intrinsic functions used by libcxx only exist for prescott or newer CPUs.
arch_variant_cflags := \
    -march=i686 \
    -march=prescott \