Re: CFLAGS for GCC

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

 



On 25 Jan 2018 06:11, Victor Porton wrote:
> I want to add some C flags but only when the compiler is GCC, because
> GCC command line may not work with other compilers.

if you call AC_PROG_CC, it'll export $GCC you can check against "yes"

> -ansi -g -Wall -Werror -Wpedantic

are you sure you really want -ansi/-Wpedantic ?  that's for like 1990 
standards.  it's been almost 30 years man.
-mike

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux