Files
harbour-core/contrib/3rd/sqlite3/sqlite3.hbp
Przemysław Czerpak f4ea383593 2025-01-21 06:45 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* .github/workflows/windows-ci.yml
    * disabled global -Wno-error=... C compiler parameters
    * set HB_BUILD_TEST="${{matrix.strictness}}" envvar

  * contrib/3rd/sqlite3/sqlite3.hbp
    * set -Wno-error=stringop-overread C compiler parameter for GCC builds
      when HB_BUILD_TEST='strict'

  * contrib/hbzebra/hbzebra.hbp
    * set -Wno-error=array-bounds C compiler parameter for GCC builds
      when HB_BUILD_TEST='strict'
2025-01-21 06:45:38 +01:00

58 lines
1.6 KiB
Plaintext

-stop{hbdyn}
-stop{poccarm}
# NOTE: old msvcarm can't cope with some PP directives. [vszakats]
-stop{msvcarm&(HB_COMP_VER='1200')&!(HB_COMP_VER='1300')&!(HB_COMP_VER='1310')}
# NOTE: dos based watcom runs out of memory. [vszakats]
-stop{HB_HOST_PLAT='dos'&watcom}
# NOTE: disable *nix builds on non-*nix platforms; [vszakats]
# except for cygwin-on-win
-stop{!(HB_HOST_PLAT='win'&cygwin)&HB_HOST_PLAT_UNIX=''&unix}
-hblib
-inc
-o${hb_targetname}
-hbx=
-warn=low
-cpp=no
-pic
-cflag=-DSQLITE_ENABLE_FTS3
-cflag=-DSQLITE_ENABLE_FTS3_PARENTHESIS
-cflag=-DSQLITE_OMIT_DEPRECATED
-cflag=-DSQLITE_ENABLE_COLUMN_METADATA
-cflag=-D_WIN32_WCE=0x0300{wce}
# DJGPP and OpenWatcom in DOS aren't correctly recognized by SQLite,
# so we're forcing the next best available option. This will cause missing
# externals though. [vszakats]
-cflag=-DSQLITE_OS_OTHER{dos}
# Watcom Linux builds cannot use system header files
-cflag=-DSQLITE_OS_OTHER{linux&watcom}
# OS/2 builds do not support pthreads and some other system headers
-cflag=-DSQLITE_OS_OTHER{os2}
-cflag=-DSQLITE_THREADSAFE=0{minix}
-cflag=-DSQLITE_OMIT_LOAD_EXTENSION=1{minix}
-cflag=-DSQLITE_OMIT_WAL=1{minix}
# mingw 4.5.0/4.5.1 revisions fail compiling in iso90 mode. It's fixed in 4.5.2.
-c=gnu90{allgcc&HB_COMP_VER='45'}
# GCC 14 reports strlen reading 1 or more bytes from a region of size 0 warning
-cflag=-Wno-error=stringop-overread{allgcc&HB_BUILD_TEST='strict'}
sqlite3.c
# ORIGIN http://www.sqlite.org/
# VER 3.8.2
# URL http://sqlite.org/2013/sqlite-amalgamation-3080200.zip
# DIFF sqlite3.diff
#
# MAP sqlite3.c
# MAP sqlite3.h
# MAP sqlite3ext.h sqlite3x.h