<p>Both are viable options. </p>
<p>There are countless opportunities with both majors, with math being a bit more broad (you can, for example, “easily” get a job at Google/DoD/DoE/Banking/in any other field of science). </p>
<p>You might be more limited as a CS major, but by no means will this limitation harm you in any significant way. </p>
<p>
</p>
<p>How many math majors actually teach? I think a very small subset of the whole math major population actually goes into academia…</p>