tce-load -i cmake glib2-dev cd lensfun-0.3.2 mkdir build cd build cmake -DCMAKE_C_FLAGS="-mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS="-mtune=generic -Os -pipe -fno-exceptions -fno-rtti" -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_STATIC=OFF -DCMAKE_BUILD_TYPE=Release ../ find . -name CMakeCache.txt -type f -exec sed -i 's/-O2 -g//g' {} \; find . -name CMakeCache.txt -type f -exec sed -i 's/-O3//g' {} \; make sudo make install correct lib64 -- Building Lensfun 0.3.2.0 -- ------------------------------------------------------------------------------------- -- Build as dynamic/shared library -- Build type: Release -- Build doc: OFF -- Build test suite: OFF -- Build lenstool: OFF -- Build with support for SSE: ON -- Build with support for SSE2: ON -- Install helper scripts: ON