Skip to content

Commit

Permalink
Limit optimizations to 64-bit targets
Browse files Browse the repository at this point in the history
Some optimizations don't work on 32-bit targets, so we should limit them
to 64 bits only.
  • Loading branch information
mscastanho committed Oct 23, 2020
1 parent 20d902e commit 6ca5013
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,9 @@ cat > $test.c <<EOF
#ifndef _ARCH_PPC
#error "Target is not Power"
#endif
#if !(defined(__PPC64__) || defined(__powerpc64__))
#error "Target is not 64 bits"
#endif
#ifndef HAVE_IFUNC
#error "Target doesn't support ifunc"
#endif
Expand Down

0 comments on commit 6ca5013

Please sign in to comment.