"penile erection," 1922, earlier as an adjective (1893), from hard + on.
hardihood
hard-line
hardly
hardness
hard-nosed
hard-on
hardscrabble
hard-shell
hardship
hardtack
hard-up