add -mtune=generic to CFLAGS