changed flags into the same flags pacman uses