public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Volkov <pva@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PMS] Add RESTRICT="distcc" capability
Date: Mon, 03 Nov 2008 13:22:12 +0300	[thread overview]
Message-ID: <1225707732.1775.46.camel@localhost> (raw)
In-Reply-To: <200811021111.10124.gengor@gentoo.org>

В Вск, 02/11/2008 в 12:11 -0700, Gordon Malm пишет:
> You can cry "abuse" all you want.  You FAIL to offer any alternatives or 
> solutions.  I'll ask again, how do you detect that you are compiling code 
> destined to be run in-kernel from within gcc without checking for the 
> __KERNEL__ macro?  I think we both know the answer.

Gordon, as far as I see our linux-mod.eclass builds each kernel module
separately and it is possible to modify it to pass CFLAGS you wish for
kernel modules only and as such avoid using __KERNEL__ macro for this...

-- 
Peter.




  parent reply	other threads:[~2008-11-03 10:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-01 20:57 [gentoo-dev] [PMS] Add RESTRICT="distcc" capability Gordon Malm
2008-11-01 21:00 ` Ciaran McCreesh
2008-11-01 21:21   ` Gordon Malm
2008-11-01 21:28     ` Ciaran McCreesh
2008-11-01 21:58       ` Gordon Malm
2008-11-01 22:11         ` Ciaran McCreesh
2008-11-01 22:47           ` Gordon Malm
2008-11-01 22:57             ` Ciaran McCreesh
2008-11-01 23:28             ` Jan Kundrát
2008-11-02  1:29               ` Gordon Malm
2008-11-02  3:16                 ` Jorge Manuel B. S. Vicetto
2008-11-02 11:26                 ` Ciaran McCreesh
2008-11-02 19:11                   ` Gordon Malm
2008-11-02 19:28                     ` Ciaran McCreesh
2008-11-03  8:18                       ` [gentoo-dev] " Steve Long
2008-11-03 10:22                     ` Peter Volkov [this message]
2008-11-04  3:37                       ` [gentoo-dev] " Gordon Malm
2008-11-02  0:11 ` David Leverton

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=1225707732.1775.46.camel@localhost \
    --to=pva@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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