[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <10018089.GvaJH1c73e@vapier>
Date: Sat, 19 Apr 2014 23:01:55 -0400
From: Mike Frysinger <vapier@...too.org>
To: David Heidelberger <david.heidelberger@...t.cz>
Cc: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>, netdev@...r.kernel.org
Subject: Re: [PATCH [iputils] 4/5] fix handling of CFLAGS
On Sat 19 Apr 2014 20:55:17 David Heidelberger wrote:
> I'd like to set CC if is unset, check this patch, if it look sane for
> you :)
> https://github.com/iputils/iputils/commit/77ab88974eb4424620e4caa1dcd4bebe02
> 0a3b4e
unfortunately that won't do anything. make provides a default CC so that code
will effectively never get used.
you could just delete the line. realistically, the default (cc) is going to
be gcc on any system where this code is built.
alternatively, you can use the pattern:
ifeq ($(origin CC),default)
CC = gcc
endif
-mike
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists