glibc: fix some inconsistent flags with upstream
glibc: fix some inconsistent flags with upstream

This more correctly matches what glibc does to build the objects
inside libnonshared.a.

andrewrk/zig,andrewrk/zig