Changeset 16966 in niluje


Ignore:
Timestamp:
Mar 17, 2020, 7:08:47 PM (2 weeks ago)
Author:
NiLuJe
Message:

Nickel Sysroot:

  • Handle SQLCipher shenanigans….
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Misc/kobo-nickel-sysroot.sh

    r16965 r16966  
    375375cd sqlcipher
    376376update_title_info
    377 export CPPFLAGS="${BASE_CPPFLAGS} -DSQLITE_HAS_CODEC -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE -DSQLITE_TEMP_STORE=2"
     377# NOTE: The shell actually requires the COMPLETE API...
     378export CPPFLAGS="${BASE_CPPFLAGS} -DSQLITE_HAS_CODEC -DSQLITE_ENABLE_FTS3_PARENTHESIS"
    378379# SQLite doesn't want to be built w/ -ffast-math...
    379380export CFLAGS="${NOLTO_CFLAGS/-ffast-math /}"
    380381# Needs a little push to link against OpenSSL properly...
    381382export LIBS="-lz"
    382 ./configure --prefix=${TC_BUILD_DIR} --host=${CROSS_TC} --enable-releasemode --enable-tempstore --disable-static --enable-shared --disable-tcl
     383./configure --prefix=${TC_BUILD_DIR} --host=${CROSS_TC} --enable-releasemode --disable-load-extension --enable-fts3 --enable-rtree --enable-tempstore=yes --disable-static --enable-shared --disable-tcl
    383384make ${JOBSFLAGS}
    384385make install
     
    461462        echo "" >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
    462463        echo 'QMAKE_CXXFLAGS_RELEASE += -O3 -fomit-frame-pointer -frename-registers -fweb' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
     464        echo "" >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
     465        # For SQLCipher (https://github.com/kobolabs/qtbase/commit/c6113d551d9a09f69ddda66381dce2e85c01c37e)
     466        echo "QT_CFLAGS_SQLITE        = -I${TC_BUILD_DIR}/include/sqlcipher" >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
     467        echo 'QT_LFLAGS_SQLITE        = -lsqlcipher -lcrypto -lz' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
    463468        echo "" >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
    464469        echo "load(qt_config)" >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
Note: See TracChangeset for help on using the changeset viewer.