[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CFLAGS for GCC
From: |
Mike Frysinger |
Subject: |
Re: CFLAGS for GCC |
Date: |
Wed, 24 Jan 2018 23:39:33 -0500 |
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
signature.asc
Description: Digital signature
- CFLAGS for GCC, Victor Porton, 2018/01/24
- Re: CFLAGS for GCC,
Mike Frysinger <=