From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: "Uwe Kleine-König" <uwe@kleine-koenig.org>
Cc: linux-sparse@vger.kernel.org
Subject: Re: [PATCH] cgcc: teach cgcc about GNU/kFreeBSD
Date: Fri, 15 Sep 2017 06:50:38 +0200 [thread overview]
Message-ID: <20170915045037.6xmnzhimdkxo2w77@ltop.local> (raw)
In-Reply-To: <20170914200327.15129-1-uwe@kleine-koenig.org>
On Thu, Sep 14, 2017 at 10:03:27PM +0200, Uwe Kleine-König wrote:
> ---
> cgcc | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/cgcc b/cgcc
> index a8d7b4f217fe..0ab54f943578 100755
> --- a/cgcc
> +++ b/cgcc
> @@ -235,6 +235,9 @@ sub add_specs {
> } elsif ($spec eq 'linux') {
> return &add_specs ('unix') .
> ' -D__linux__=1 -D__linux=1 -Dlinux=linux';
> + } elsif ($spec eq 'gnu/kfreebsd') {
> + return &add_specs ('unix') .
> + ' -D__FreeBSD_kernel__=1'
> } elsif ($spec eq 'openbsd') {
> return &add_specs ('unix') .
> ' -D__OpenBSD__=1';
Acked-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
next prev parent reply other threads:[~2017-09-15 4:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-14 20:03 [PATCH] cgcc: teach cgcc about GNU/kFreeBSD Uwe Kleine-König
2017-09-14 20:17 ` Uwe Kleine-König
2017-09-15 5:09 ` Luc Van Oostenryck
2017-09-15 4:50 ` Luc Van Oostenryck [this message]
2017-09-15 16:56 ` Chris Li
2017-09-16 7:50 ` Luc Van Oostenryck
2017-09-16 13:57 ` Uwe Kleine-König
2017-09-19 12:25 ` Chris Li
2017-09-19 14:41 ` Uwe Kleine-König
2017-09-19 15:15 ` Chris Li
2017-09-19 17:33 ` Uwe Kleine-König
2017-09-20 4:45 ` Chris Li
2017-09-20 15:10 ` [PATCH v2] " Uwe Kleine-König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170915045037.6xmnzhimdkxo2w77@ltop.local \
--to=luc.vanoostenryck@gmail.com \
--cc=linux-sparse@vger.kernel.org \
--cc=uwe@kleine-koenig.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).