Need to compile some add'l libs on Ubuntu w/ same switches as gcc.
Q: How can I determine on Ubuntu what siwtches were used with libc?
One earlier suggestion was using "apt-src", but nothing in the man pages for apt-src seems to show what switches were used with a binary package. "apt show" has some information, but not the actual compiler switches.
This matters because I'm trying to compile other packages that need consistent library switches between mutiple lib's.
gcc --help
andman gcc
to answer your actual question see the called duplicate.