Skip to content

Instantly share code, notes, and snippets.

@LebedevRI
Last active February 26, 2016 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LebedevRI/15fbc90c2fdd541cddea to your computer and use it in GitHub Desktop.
Save LebedevRI/15fbc90c2fdd541cddea to your computer and use it in GitHub Desktop.
gcc fsanitize=address + stack-protector-strong
cd ~/darktable/build/ && rm -rf * && LDFLAGS="-fno-omit-frame-pointer -fsanitize=address -fstack-protector-strong" CFLAGS="${LDFLAGS}" CXXFLAGS="${LDFLAGS}" CPPFLAGS="${LDFLAGS}" CC=gcc CXX=g++ cmake ../ && make -j9 && sudo make -j9 install && darktable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment