aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndrew Mulbrook <andrew262@gmail.com>2012-03-03 10:12:06 -0600
committerAndrew Mulbrook <andrew262@gmail.com>2012-03-03 10:12:06 -0600
commit5775911dadef7c10eee8ee44db41c6aeb6b11e07 (patch)
treea0a3262fc31cd601b098018fdc0ebb8e22a29516 /configure
parente343b1dfd47eb6514c836e2329ad0171a7226c4b (diff)
downloadtinycc-5775911dadef7c10eee8ee44db41c6aeb6b11e07.tar.gz
tinycc-5775911dadef7c10eee8ee44db41c6aeb6b11e07.tar.bz2
Revert "Multiple fixes for 64 bit sections"
This reverts commit d7a7c3769d0a1dcb8400258cd8adf78a8566de61.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 3 insertions, 9 deletions
diff --git a/configure b/configure
index ed6ca6f..188c360 100755
--- a/configure
+++ b/configure
@@ -154,8 +154,6 @@ for opt do
;;
--enable-cygwin) mingw32="yes" ; cygwin="yes" ; cross_prefix="mingw32-" ; cpu=x86
;;
- --enable-cygwin64) mingw32="yes" ; cygwin="yes" ; cross_prefix="x86_64-w64-mingw32-" ; cpu="x86-64"
- ;;
--enable-cross) build_cross="yes"
;;
--disable-static) disable_static="yes"
@@ -433,18 +431,14 @@ if test "$noldl" = "yes" ; then
echo "CONFIG_NOLDL=yes" >> config.mak
fi
if test "$mingw32" = "yes" ; then
- if test "$cpu" = "x86-64" ; then
- echo "CONFIG_WIN64=yes" >> config.mak
- echo "#define CONFIG_WIN64 1" >> $TMPH
- else
- echo "CONFIG_WIN32=yes" >> config.mak
- echo "#define CONFIG_WIN32 1" >> $TMPH
- fi
+ echo "CONFIG_WIN32=yes" >> config.mak
+ echo "#define CONFIG_WIN32 1" >> $TMPH
fi
if test "$cygwin" = "yes" ; then
echo "#ifndef _WIN32" >> $TMPH
echo "#define _WIN32" >> $TMPH
echo "#endif" >> $TMPH
+ echo "AR=ar" >> config.mak
fi
if test "$bigendian" = "yes" ; then
echo "WORDS_BIGENDIAN=yes" >> config.mak