Observations using the Spitzer Space Telescope indicate that extremely massive stars of spectral category O, which are much hotter than the Sun, produce a photo-evaporation effect that inhibits planetary formation.