On Tue, Jan 10, 2023 at 01:22:38AM +0100, Andreas Schwab wrote: > On Jan 09 2023, Segher Boessenkool wrote: > > > It is required by POSIX (for the c99 command, anyway). It *also* is > > required to be supported when producing object files (so when no linking > > is done). > > > > It is a GCC flag, and documented just fine: > > https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#index-s > > Most assembler flags are unrelated to the flags passed to the compiler > driver, and -s is no exception. POSIX has nothing to say about the > sub-commands of the compiler anyway. But this is not an assembler flag! quiet_cmd_vdso32as = VDSO32A $@ cmd_vdso32as = $(VDSOCC) $(a_flags) $(CC32FLAGS) $(AS32FLAGS) -c -o $@ $< where ifdef CROSS32_COMPILE VDSOCC := $(CROSS32_COMPILE)gcc else VDSOCC := $(CC) endif The name of the make variable AS32FLAGS is a bit misleading. This variable does not hold arguments to as, it holds arguments to the compiler driver, "gcc". Segher