English Translation
The flower gave out a sweet smell.
Tip: I’ve explained the difference between 匂い (pron. におい), 臭い (also におい), and 香り (かおり) on a related sentence discussion.
その花はよい香りがした also sounds natural and more elegant way like an advertisement or literature.
We don’t use 臭い.