commit "tccpp: fix issues, add tests" also include - configure/Makefile : build on windows (MSYS) was broken which breaks a cross compilation on linux
Unified · Split
| @@ -449,6 +449,12 @@ LIBSUF=$LIBSUF · 448 unmodified lines | ||
| 449 | 449 | EXESUF=$EXESUF |
| 450 | 450 | HOST_OS=$host_os |
| 451 | 451 | EOF |
| 452 | +if test "$mingw32" = "yes" -a "$host_os" != "Windows" ; then | |
| 453 | +cat >>config.mak <<EOF | |
| 454 | +XCC=$cc | |
| 455 | +XAR=$ar | |
| 456 | +EOF | |
| 457 | +fi | |
| 452 | 458 | |
| 453 | 459 | print_inc() { |
| 454 | 460 | if test -n "$2"; then |