It's not clear if LDFLAGS flags will be given to gcc or ld,