aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2015-05-10 09:57:11 +0300
committerseyko <seyko2@gmail.com>2015-05-10 09:57:11 +0300
commit87a010960481c3e4effd1994714b78f47d13d6a7 (patch)
tree3e44d49fd5e1949bf9ee7ab70189758c13d24509 /configure
parent30df3189b177c65d65094bed3a066a2722fe2dc0 (diff)
downloadtinycc-87a010960481c3e4effd1994714b78f47d13d6a7.tar.gz
tinycc-87a010960481c3e4effd1994714b78f47d13d6a7.tar.bz2
restore "./configure --enable-tcc32-mingw" on linux
commit "tccpp: fix issues, add tests" also include - configure/Makefile : build on windows (MSYS) was broken which breaks a cross compilation on linux
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 01bcdb1..6a796f3 100755
--- a/configure
+++ b/configure
@@ -449,6 +449,12 @@ LIBSUF=$LIBSUF
EXESUF=$EXESUF
HOST_OS=$host_os
EOF
+if test "$mingw32" = "yes" -a "$host_os" != "Windows" ; then
+cat >>config.mak <<EOF
+XCC=$cc
+XAR=$ar
+EOF
+fi
print_inc() {
if test -n "$2"; then