[tz] [PATCH 1/3] build: handle standard LDFLAGS variable