tce-load -i compiletc git cmake libxslt-dev intltool libgphoto2-dev libsoup-dev libwebp-dev lensfun-dev librsvg-dev curl-dev json-glib-dev exiv214-dev libsecret-dev lua-dev pugixml-dev colord-gtk-dev sdl-dev glu-dev desktop-file-utils openexr-dev clang lua-5.3-dev git clone https://github.com/darktable-org/darktable git submodule init git submodule update cd darktable mkdir build cd build sudo cp /tmp/tcloop/gcc_libs-dev/usr/local/lib/libgomp.spec /usr/lib cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE ../ find . -name flags.make -type f -exec sed -i 's/-march=native -msse2 -g/-msse2/g' {} \; find . -name flags.make -type f -exec sed -i 's/-O3//g' {} \; find . -name link.txt -type f -exec sed -i 's/-march=native -msse2 -g/-msse2/g' {} \; find . -name link.txt -type f -exec sed -i 's/-O3//g' {} \; make [4m 40.99s] sudo make install