i missed this one  you also add the flag to target  nd arch var prefix target global ldflags for multilib build  on the other hand you can add the flag separately to target global ldflags in all the build core combon target linux mk 