1/ The first example ignores LDFLAGS. 2/ The second example hardcodes gcc instead of using $(tc-getCC ) and thus breaks crosscompile
Created attachment 227689 [details, diff] proposed patch
pushed