tce-load -i compiletc nspr-dev sqlite3-dev https://archive.mozilla.org/pub/security/nss/releases/NSS_3_54_RTM/src/nss-3.54.tar.gz http://www.linuxfromscratch.org/patches/blfs/svn/nss-3.54-standalone-2.patch cd nss-3.54 patch -Np1 -i ../nss-3.54-standalone-2.patch cd nss make CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" BUILD_OPT=1 NSPR_INCLUDE_DIR=/usr/local/include/nspr USE_SYSTEM_ZLIB=1 ZLIB_LIBS=-lz NSS_ENABLE_WERROR=0 NSS_USE_SYSTEM_SQLITE=1 [54m 19.79s] cd ../dist sudo install -m755 Linux*/lib/*.so /usr/local/lib sudo install -m644 Linux*/lib/*.chk /usr/local/lib sudo install -m644 Linux*/lib/libcrmf.a /usr/local/lib sudo install -m755 -d /usr/local/include/nss sudo cp -RL public/nss/* /usr/local/include/nss sudo cp -RL private/nss/* /usr/local/include/nss sudo chmod 644 /usr/local/include/nss/* sudo install -m755 Linux*/bin/certutil /usr/local/bin sudo install -m755 Linux*/bin/nss-config /usr/local/bin sudo install -m755 Linux*/bin/pk12util /usr/local/bin sudo install -m644 Linux*/lib/pkgconfig/nss.pc /usr/local/lib/pkgconfig