Files
harbour-core/contrib/3rd/sqlite3/sqlite3.hbp
Przemysław Czerpak a75901b482 2025-01-26 09:37 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* .github/workflows/vm1-ci.yml
    * reenabled freebsd builds
    * be sure N_CPUS is always set
    * show compiler version before build

  * contrib/3rd/sqlite3/sqlite3.hbp
    * enable -Wno-unknown-warning-option only for CLANG - older GCC versions
      does not like it
    * use -Wno-stringop-overread instead of -Wno-error=stringop-overread,
      Unlike Wno-error=* the unknown -Wno-* options are ignored by most of
      old GCC compilers
2025-01-26 09:37:35 +01:00

59 lines
1.7 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-stringop-overread{allgcc&HB_BUILD_TEST='strict'}
-cflag=-Wno-unknown-warning-option{clang&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