put ld flags directly before -o