title: How to compile a 32-bit binary on a 64-bit linux machines without touching the CFLAGS environment variable
body: <p>The solution in</p>
  
  <p><a href="https://stackoverflow.com/questions/1272357/how-to-compile-a-32-bit-binary-on-a-64-bit-linux-machine-with-gcc-cmake">How to compile a 32-bit binary on a 64-bit linux machine with gcc/cmake</a></p>
  
  <p>is not possible because i use 3rd party software and other stuff which is using the CFLAGS variable already. And patching their makefiles is not allowed - says my boss.</p>
  
  <p>So i have to find another way to enforce it. Maybe some magic with symbolic links redirecting a call to gcc to a 32bit version of the compiler (hoping that the default target is not detected dynamically). </p>