tce-load -i compiletc cmake expat2-dev curl-dev brotli-dev inih-dev wget https://github.com/Exiv2/exiv2/archive/v0.28.9/exiv2-0.28.9.tar.gz cd exiv2-0.28.9 mkdir build-exiv cd build-exiv cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DEXIV2_ENABLE_VIDEO=yes -DEXIV2_ENABLE_WEBREADY=yes -DEXIV2_ENABLE_CURL=yes -DEXIV2_BUILD_SAMPLES=no -G "Unix Makefiles" ../ [-fno-exceptions fails] make [2m 39.67s] sudo make install -- --- Compiler flags --- -- General: -fstack-clash-protection -fcf-protection -fstack-protector-strong -D_GLIBCXX_ASSERTIONS -D_FORTIFY_SOURCE=2 -Wall -Wcast-align -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -W -Wno-error=format-nonliteral -- Extra: -- Debug: -g3 -gstrict-dwarf -O0 -- Release: -flto -mtune-generic -Os -pipe -- RelWithDebInfo: -O2 -g -DNDEBUG -- MinSizeRel: -Os -DNDEBUG -- --- Linker flags --- -- General: -- Debug: -- Release: -- RelWithDebInfo: -- MinSizeRel: -- -- Compiler Options -- Warnings as errors: NO -- Use extra compiler warning flags: NO -- -- ------------------------------------------------------------------ -- Building shared library: YES -- Building PNG support: YES -- XMP metadata support: YES -- Building BMFF support: YES -- Brotli support for JPEG XL: YES -- Native language support: NO -- Building video support: YES -- Nikon lens database: YES -- Building webready support: YES -- USE Libcurl for HttpIo: YES -- Building exiv2 command: YES -- Building samples: NO -- Building unit tests: NO -- Building fuzz tests: NO -- Building doc: NO -- Building with coverage flags: NO -- Building with filesystem access YES -- Using ccache: NO