summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-03-14 17:20:59 +0100
committerDiego Biurrun <diego@biurrun.de>2014-03-19 17:14:11 +0100
commit606cc8afa1cb782311f68560c8f9bad978cdcc32 (patch)
tree7d9490f8a4e24fefe5044c6ec45a7f69bc86053b /configure
parentaf9481d7019d46c9f18c4ccac77a5d0c54cf6004 (diff)
configure: ppc: Disable ldbrx instruction by default
Only enable it for CPUs that support it. This restores the behavior prior to 7a650caf.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index b687790af0..fced12f9bd 100755
--- a/configure
+++ b/configure
@@ -3135,6 +3135,8 @@ elif enabled mips; then
elif enabled ppc; then
+ disable ldbrx
+
case $(tolower $cpu) in
601|ppc601|powerpc601)
cpuflags="-mcpu=601"