Intel: x87 vs sse

For C programs, is there a way to tell the compiler what
kind of floating-point unit (FPU) to generate code for?
I am thinking of Intel CPUs with x87 versus sse.
This is for Linux.

clang doesn't support an explicit flag; it will use SSE/SSE2 where
available, and x87 otherwise. Note that clang will always use x87 for
arithmetic on anything using the type "long double".