Changeset 16965 in niluje


Ignore:
Timestamp:
Mar 17, 2020, 6:59:50 PM (4 months ago)
Author:
NiLuJe
Message:

Nickel Sysroot:

  • Start working on SQLCipher…
File:
1 edited

Legend:

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

    r16964 r16965  
    365365fi
    366366
     367echo "* Building SQLCipher . . ."
     368echo ""
     369cd ..
     370rm -rf sqlcipher
     371until git clone -b kobo --single-branch --depth 1 https://github.com/kobolabs/sqlcipher.git ; do
     372        rm -rf sqlcipher
     373        sleep 15
     374done
     375cd sqlcipher
     376update_title_info
     377export 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"
     378# SQLite doesn't want to be built w/ -ffast-math...
     379export CFLAGS="${NOLTO_CFLAGS/-ffast-math /}"
     380# Needs a little push to link against OpenSSL properly...
     381export LIBS="-lz"
     382./configure --prefix=${TC_BUILD_DIR} --host=${CROSS_TC} --enable-releasemode --enable-tempstore --disable-static --enable-shared --disable-tcl
     383make ${JOBSFLAGS}
     384make install
     385unset LIBS
     386export CFLAGS="${NOLTO_CFLAGS}"
     387export CPPFLAGS="${BASE_CPPFLAGS}"
     388
    367389# Here comes the pain...
    368390if [[ "${TC_WANT_QT_LTS}" == "false" ]] ; then
     
    432454        echo 'QMAKE_LFLAGS           += -Wl,--as-needed' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
    433455        # NOTE: -c++11 doesn't apply during configure's tests, which is a fatal mistake for proper ICU handling (as it requires C++11)...
    434         echo 'QMAKE_CXXFLAGS         += -std=gnu++11' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
    435         echo 'QMAKE_LFLAGS           += -std=gnu++11' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
    436         #echo 'QMAKE_OBJCXXFLAGS_PRECOMPILE += -std=gnu++11' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
     456        echo 'QMAKE_CXXFLAGS         += -std=c++11' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
     457        echo 'QMAKE_LFLAGS           += -std=c++11' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
     458        #echo 'QMAKE_OBJCXXFLAGS_PRECOMPILE += -std=c++11' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
    437459        echo "" >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
    438460        echo 'QMAKE_CFLAGS_RELEASE   += -O3 -fomit-frame-pointer -frename-registers -fweb' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
Note: See TracChangeset for help on using the changeset viewer.