mirror of
https://github.com/frida/tinycc
synced 2024-12-25 22:46:49 +03:00
Force gcc for x86_64 --enable-cross
This commit is contained in:
parent
fb498eb925
commit
c635976cd7
2
Makefile
2
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user