Force gcc for x86_64 --enable-cross

This commit is contained in:
Henry Kroll III 2010-10-28 22:05:42 -07:00 committed by Henry K
parent fb498eb925
commit c635976cd7

View File

@ -198,7 +198,7 @@ tcc1.def:
echo "#define HOST_I386 1" >> config.h echo "#define HOST_I386 1" >> config.h
echo "CFLAGS=-O2 -g -pipe -Wall -m32" >> config.mak echo "CFLAGS=-O2 -g -pipe -Wall -m32" >> config.mak
echo "ARCH=i386" >> config.mak echo "ARCH=i386" >> config.mak
$(MAKE) i386-win32-tcc $(MAKE) i386-win32-tcc CC=gcc
cp i386-win32-tcc tcc.exe cp i386-win32-tcc tcc.exe
mv libtcc1.a libtcc1.bak mv libtcc1.a libtcc1.bak
$(MAKE) CONFIG_WIN32=1 libtcc1.a $(MAKE) CONFIG_WIN32=1 libtcc1.a