Use linker-arguments only when linking
Use linker-arguments only when linking

Passing linker-arguments when only compiling will cause warnings with
Clang. This change fixes those.

Signed-off-by: Giel van Schijndel <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@mortis.eu>

coinkeeper/2015-06-22_18-46_reddcoin,reddink/reddcoin,bmp02050/ReddcoinUpdates,coinkeeper/2015-06-22_18-46_reddcoin,reddcoin-project/reddcoin,coinkeeper/2015-06-22_18-46_reddcoin,coinkeeper/2015-06-22_19-10_cannacoin,ahmedbodi/poscoin,bmp02050/ReddcoinUpdates,ahmedbodi/poscoin,Cannacoin-Project/Cannacoin,joroob/reddcoin,reddink/reddcoin,Cannacoin-Project/Cannacoin,ahmedbodi/poscoin,Cannacoin-Project/Cannacoin,bmp02050/ReddcoinUpdates,reddink/reddcoin,reddcoin-project/reddcoin,bmp02050/ReddcoinUpdates,reddcoin-project/reddcoin,bmp02050/ReddcoinUpdates,coinkeeper/2015-06-22_19-10_cannacoin,ahmedbodi/poscoin,coinkeeper/2015-06-22_19-10_cannacoin,joroob/reddcoin,reddcoin-project/reddcoin,coinkeeper/2015-06-22_18-46_reddcoin,coinkeeper/2015-06-22_19-10_cannacoin,ahmedbodi/poscoin,reddcoin-project/reddcoin,joroob/reddcoin,Cannacoin-Project/Cannacoin,joroob/reddcoin,Cannacoin-Project/Cannacoin,reddcoin-project/reddcoin,coinkeeper/2015-06-22_18-46_reddcoin,joroob/reddcoin,coinkeeper/2015-06-22_19-10_cannacoin,reddink/reddcoin,reddink/reddcoin