Road Runner's Death Valley Rally (SNES)
Here's a YouTube video that shows what this game was like. I got all the flags as a kid, because I was a completionist at the time (and a little bit nuts).
Some of these flag locations are InSaNeLy ObScRuE. To this day, I don't know what the designers were thinking.