Skip to content

Commit 34b7b2c

Browse files
author
Scott Graham
committed
Add lib/builtin.c to win32/build-tcc.bat
It looks like this is in the Makefile build, and it appears to be necessary to make __builtin_ctzll available.
1 parent 8620a31 commit 34b7b2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

win32/build-tcc.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ exit /B %ERRORLEVEL%
200200
.\tcc -B. -m%1 -c ../lib/alloca.S
201201
.\tcc -B. -m%1 -c ../lib/alloca-bt.S
202202
.\tcc -B. -m%1 -c ../lib/stdatomic.c
203-
.\tcc -B. -m%1 -ar lib/%2libtcc1.a libtcc1.o crt1.o crt1w.o wincrt1.o wincrt1w.o dllcrt1.o dllmain.o chkstk.o alloca.o alloca-bt.o stdatomic.o
203+
.\tcc -B. -m%1 -c ../lib/builtin.c
204+
.\tcc -B. -m%1 -ar lib/%2libtcc1.a libtcc1.o crt1.o crt1w.o wincrt1.o wincrt1w.o dllcrt1.o dllmain.o chkstk.o alloca.o alloca-bt.o stdatomic.o builtin.o
204205
.\tcc -B. -m%1 -c ../lib/bcheck.c -o lib/%2bcheck.o -bt -I..
205206
.\tcc -B. -m%1 -c ../lib/bt-exe.c -o lib/%2bt-exe.o
206207
.\tcc -B. -m%1 -c ../lib/bt-log.c -o lib/%2bt-log.o

0 commit comments

Comments
 (0)