Every company I've interviewed at definitely seemed to make developer happiness a priority (especially the smallest ones). Even the smallest of startups (ie. one guy with a tiny seed round) understand that buying your developers great gear is an essential investment.
Different problems happen in companies that are not "startups". For instance, a startup won't have a 40 minute build process because it hasn't accumulated enough code. A company that has been around 10 years however and hasn't deleted anything is a different story...
Then we put them, a bunch of mostly type-A software developers, to work doing the same boring crap everyone else was. Not surprising, after their one year commitment (for all the extra perks they received, like a housing allowance) was up, many of them jumped ship immediately.
Besides just hiring good people, companies need to put real effort into growing them as effective contributors. However, that process gets a lot of discussion but little real effort is put into it.
What exactly do you want that you don't already have?
That is, they may treat you like a rockstar when they sign you, but then if you complain because you got a crappy Dell laptop that was a hand-me-down from a salesman who couldn't sell, that your build process takes 40 minutes and that this could cut that to 20 minutes. Of course they have the "sick system" excuse that there is no money, but you get blamed for complaining about the 40 minute build, and then you get blamed that it takes forever to do anything because you are always waiting for that 40 minute build to finish and the system is such a house of cards that if you work on anything else in parallel whatever you would have learned from that 40 minute build is invalidated.