tce-load -i compiletc cmake expat2-dev curl-dev https://www.exiv2.org/builds/exiv2-0.27.2-Source.tar.gz cd exiv2-0.27.2-Source mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe " -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DEXIV2_ENABLE_VIDEO=no -DEXIV2_ENABLE_WEBREADY=yes -DEXIV2_ENABLE_CURL=yes -DEXIV2_ENABLE_SSH=no -DEXIV2_BUILD_SAMPLES=no -G "Unix Makefiles" ../ [-fno-exceptions fails] make [1m 10.27s] sudo make install -- --- Compiler flags --- -- General: -Wall -Wcast-align -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -W -- Extra: -- Debug: -g3 -gstrict-dwarf -O0 -- Release: -flto -fuse-linker-plugin -march=i486 -mtune=i686 -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 -- -- Compiler info: GNU (/usr/local/bin/c++) ; version: 9.2.0 -- ------------------------------------------------------------------ -- Building shared library: YES -- Building PNG support: YES -- XMP metadata support: YES -- Native language support: NO -- Conversion of Windows XP tags: YES -- Nikon lens database: YES -- Building video support: NO -- Building webready support: YES -- USE Libcurl for HttpIo: YES -- USE Libssh for SshIo: NO -- Building exiv2 command: YES -- Building samples: NO -- Building PO files: NO -- Building unit tests: NO -- Building doc: NO -- Building with coverage flags: NO -- Using ccache: NO -- ------------------------------------------------------------------ -- WARNING: Deprecated features: EPS, Video, Ssh -- ------------------------------------------------------------------