title: Compiling in Eclipse with gcc's -lpthread and -lrt set
body: <p>I am currently trying to use Eclipse to develop some code that I've been doing in a text editor in C.</p>
  
  <p>I am currently under Linux, compiling it with GCC with the following arguments:</p>
  
  <pre><code>gcc -o SO SO.c -lpthread -lrt
  </code></pre>
  
  <p>I've tried adding <code>"-lpthread -lrt"</code> to Eclipse's "C/C++ Build"->"Discovery Options"-> "Compiler Invocation Arguments" but it seems of no avail.</p>
  
  <p>I also tried on "C/C++ Build"->"Discovery Options"-> "Settings" but that doesn't seem to do it, too.</p>
  
  <p>How may I override Eclipse's GCC command line arguments?</p>