changeset 29675:978b9a902bff

Do not override host_arch in x86 vs. x86_64 detection if it was forced via --target. Patch by Andrew Wason [rectalogic rectalogic com]
author reimar
date Fri, 25 Sep 2009 16:46:39 +0000
parents 10982a0eac1f
children 812db1123f7a
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Sep 25 09:44:41 2009 +0000
+++ b/configure	Fri Sep 25 16:46:39 2009 +0000
@@ -1520,7 +1520,7 @@
 echo >> "$TMPLOG"
 
 
-if x86 ; then
+if test -z "$_target" && x86 ; then
   cat > $TMPC << EOF
 int main(void) {
     int test[sizeof(char *)-7];