title: How to add compiler flags on codeblocks
body: <p>I've been trying to compile a simple multithreaded piece of code I found online in an effort to learn how to multithread.<br>
  To run this piece of code I need to use the compiler flags: <code>-pthread</code> and <code>-std=c++0x</code>.<br>
  But whenever I try to add the flags the build log doesn't show them being used.</p>
  
  <p>I've tried some generic tips online to get these to work, but none of them worked. Can someone help?</p>
  
  <p>I've tried other advice online to add compiler flags to code blocks, but when I do that and check the build log none of them appear.</p>