another way to get cflags