support for delphi 11.1
This commit is contained in:
@@ -6,15 +6,21 @@ set GCCPATH=d:\fpcup\__win\bin\%FPCARCH%
|
||||
|
||||
set GCC=%FPCARCH%-gcc
|
||||
set DST=..\..\static\%FPCARCH%\sqlite3.o
|
||||
set DST2=..\..\..\lib2\static\%FPCARCH%\sqlite3.o
|
||||
set path=%path%;%GCCPATH%
|
||||
|
||||
del %DST%
|
||||
del %DST2%
|
||||
del sqlite3-%FPCARCH%.o
|
||||
|
||||
echo.
|
||||
echo ---------------------------------------------------
|
||||
echo Compiling for FPC on %FPCARCH% using %GCC%
|
||||
%GCC% -static -w -O2 -fno-pic -fno-stack-protector -m64 -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -c sqlite3mc.c -o sqlite3-%FPCARCH%.o
|
||||
%GCC% -static -w -O2 -fno-pic -fno-stack-protector -fomit-frame-pointer -fno-exceptions -fno-asynchronous-unwind-tables -fno-unwind-tables -m64 -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -c sqlite3mc.c -o sqlite3-%FPCARCH%.o
|
||||
|
||||
%FPCARCH%-strip -x sqlite3-%FPCARCH%.o
|
||||
|
||||
copy sqlite3-%FPCARCH%.o %DST%
|
||||
copy sqlite3-%FPCARCH%.o %DST2%
|
||||
|
||||
rem pause
|
Reference in New Issue
Block a user