2013/12/22 Fat-Zer <fatzer2@gmail.com>
tdebase FTBFS on kdesktop than it is built with clang. It's because clang can't handle "-z now"  correctly. Build log: http://bpaste.net/show/160888/

Here is a patch. 
I'm going to provide yet another patch for  LINKER_IMMEDIATE_BINDING_FLAGS wondering 
Sorry, yet another accidenly-send unfinished message...

Here is a patch... It yet another change to main cmake module and it's quite small, so IMO it's supposed to go to the git only with another patch.

I'm not sure about the condition: if the flag should be turned on only for gcc or turned off for clang... but I suppose the first one.

PS: I'm not using clang for my everyday build, I'm just using clang-complete vim plugin and sometimes do simple test builds with it...