build: use linker flags only when linking
build: use linker flags only when linking

Or clang complains.

phonkee/scylla,victorbriz/scylla,wildinto/seastar,respu/scylla,cloudius-systems/seastar,xtao/seastar,capturePointer/scylla,avikivity/seastar,rluta/scylla,avikivity/scylla,justintung/scylla,dwdm/scylla,guiquanz/scylla,flashbuckets/seastar,syuu1228/seastar,scylladb/scylla-seastar,aruanruan/scylla,ducthangho/imdb,victorbriz/scylla,stamhe/scylla,justintung/scylla,capturePointer/scylla,slivne/seastar,glommer/scylla,respu/scylla,kjniemi/seastar,shyamalschandra/seastar,eklitzke/scylla,rentongzhang/scylla,dwdm/scylla,stamhe/scylla,shaunstanislaus/scylla,phonkee/scylla,duarten/scylla,syuu1228/seastar,sjperkins/seastar,joerg84/seastar,wildinto/scylla,stamhe/seastar,acbellini/seastar,guiquanz/scylla,ducthangho/imdb,rentongzhang/scylla,duarten/scylla,xtao/seastar,anzihenry/seastar,scylladb/scylla,printedheart/seastar,justintung/scylla,chunshengster/seastar,tempbottle/seastar,chunshengster/seastar,gwicke/scylla,bowlofstew/seastar,raphaelsc/seastar,dreamsxin/seastar,norcimo5/seastar,kangkot/scylla,ducthangho/imdb,kjniemi/seastar,tempbottle/scylla,hongliangzhao/seastar,avikivity/scylla,wildinto/scylla,bzero/seastar,raphaelsc/seastar,flashbuckets/seastar,tempbottle/scylla,wildinto/seastar,bzero/seastar,mixja/seastar,glommer/scylla,linearregression/scylla,flashbuckets/seastar,chunshengster/seastar,dwdm/seastar,capturePointer/scylla,joerg84/seastar,anzihenry/seastar,shaunstanislaus/scylla,scylladb/seastar,sjperkins/seastar,kjniemi/scylla,mixja/seastar,cloudius-systems/seastar,rentongzhang/scylla,jonathanleang/seastar,kjniemi/scylla,gwicke/scylla,printedheart/seastar,duarten/scylla,respu/scylla,leejir/seastar,shyamalschandra/seastar,dwdm/seastar,linearregression/seastar,senseb/scylla,aruanruan/scylla,linearregression/scylla,stamhe/scylla,linearregression/seastar,avikivity/seastar,eklitzke/scylla,dwdm/scylla,kangkot/scylla,wildinto/seastar,asias/scylla,tempbottle/seastar,eklitzke/scylla,dreamsxin/seastar,wildinto/scylla,mixja/seastar,bowlofstew/seastar,scylladb/seastar,shaunstanislaus/scylla,linearregression/seastar,scylladb/scylla,bowlofstew/scylla,acbellini/scylla,koolhazz/seastar,hongliangzhao/seastar,phonkee/scylla,koolhazz/seastar,leejir/seastar,kjniemi/seastar,raphaelsc/scylla,slivne/seastar,scylladb/scylla,joerg84/seastar,bowlofstew/scylla,tempbottle/seastar,shyamalschandra/seastar,scylladb/scylla-seastar,raphaelsc/scylla,norcimo5/seastar,bowlofstew/scylla,hongliangzhao/seastar,aruanruan/scylla,asias/scylla,asias/scylla,raphaelsc/scylla,scylladb/scylla,stamhe/seastar,dwdm/seastar,kangkot/scylla,bowlofstew/seastar,rluta/scylla,victorbriz/scylla,avikivity/seastar,acbellini/scylla,xtao/seastar,gwicke/scylla,acbellini/seastar,rluta/scylla,dreamsxin/seastar,acbellini/scylla,anzihenry/seastar,jonathanleang/seastar,guiquanz/scylla,linearregression/scylla,koolhazz/seastar,jonathanleang/seastar,scylladb/seastar,sjperkins/seastar,senseb/scylla,kjniemi/scylla,stamhe/seastar,syuu1228/seastar,avikivity/scylla,glommer/scylla,tempbottle/scylla,bzero/seastar,norcimo5/seastar,leejir/seastar,acbellini/seastar,cloudius-systems/seastar,scylladb/scylla-seastar,senseb/scylla,printedheart/seastar,raphaelsc/seastar,slivne/seastar