aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-11-25 17:55:35 +0100
committerBjörn-Egil Dahlberg <[email protected]>2013-11-26 15:03:03 +0100
commit8f25405251c694f0660d5d7b2b24de1218888439 (patch)
treebeaae066481d94551b3e4a191e03e3ded62696e2 /erts
parent666884a245fd57f04e0a15b0602c46bf271966f0 (diff)
downloadotp-8f25405251c694f0660d5d7b2b24de1218888439.tar.gz
otp-8f25405251c694f0660d5d7b2b24de1218888439.tar.bz2
otp-8f25405251c694f0660d5d7b2b24de1218888439.zip
erts: Let cc determine default wordsize for darwin build
Diffstat (limited to 'erts')
-rw-r--r--erts/configure.in35
1 files changed, 11 insertions, 24 deletions
diff --git a/erts/configure.in b/erts/configure.in
index ba80fdbbbe..bad748d8fe 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -393,30 +393,17 @@ if test X${enable_darwin_64bit} = Xyes -o X${enable_m64_build} = Xyes; then
;;
esac
else
- case $host_os in
- darwin*)
- case $CFLAGS in
- *-m32*)
- ;;
- *)
- CFLAGS="-m32 $CFLAGS"
- ;;
- esac
- ;;
- *)
- if test X${enable_m32_build} = Xyes;
- then
- enable_hipe=no;
- case $CFLAGS in
- *-m32*)
- ;;
- *)
- CFLAGS="-m32 $CFLAGS"
- ;;
- esac ;
- fi
- ;;
- esac
+ if test X${enable_m32_build} = Xyes;
+ then
+ enable_hipe=no;
+ case $CFLAGS in
+ *-m32*)
+ ;;
+ *)
+ CFLAGS="-m32 $CFLAGS"
+ ;;
+ esac ;
+ fi
fi