[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 1/5] build: filter out command line assembler arguments



Roger Pau Monne writes ("[PATCH v3 1/5] build: filter out command line 
assembler arguments"):
> If the assembler is not used. This happens when using cc -E or cc -S
> for example. GCC will just ignore the -Wa,... when the assembler is
> not called, but clang will complain loudly and fail.
...
>  asm-offsets.s: $(TARGET_SUBARCH)/asm-offsets.c
> -     $(CC) $(filter-out -flto,$(CFLAGS)) -S -o $@ $<
> +     $(CC) $(filter-out -Wa% -flto,$(CFLAGS)) -S -o $@ $<

-Wa% matches -Wall.

You probably meant -Wa,%

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.