title: How to make gcc link libssp statically?
body: <p>How can I get GCC to use that static library instead of the dynamic one? Normally you add the .a file to the linker parameters. But libssp linking is triggered by the -fstack-protector option. And compiler prefers linking to the shared library if it finds one instead of static library.</p>
  
  <p>If I try to run the resulting program on systems that don't have the libssp.so the program won't run. </p>
  
  <p>(After system upgrade on some build machines, the older boxes on the test system screwed up)</p>