Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.os.unix > #8031

Re: ALL_CFLAGS / override CFLAGS

From Thomas <fantome.forums.tDeContes@free.fr.invalid>
Newsgroups fr.comp.os.unix
Subject Re: ALL_CFLAGS / override CFLAGS
References <6325d5ac$0$22250$426a34cc@news.free.fr> <tg59kq$26s$3@shakotay.alphanet.ch> <632635dc$0$3000$426a74cc@news.free.fr>
Date 2022-09-22 02:33 +0200
Message-ID <632bad3d$0$24788$426a74cc@news.free.fr> (permalink)
Organization Guest of ProXad - France

Show all headers | View raw


In article <632635dc$0$3000$426a74cc@news.free.fr>,
 Thomas <fantome.forums.tDeContes@free.fr.invalid> wrote:

> In article <tg59kq$26s$3@shakotay.alphanet.ch>, Jo Engo <yl@icite.fr> 
> wrote:
> 
> > Le Sat, 17 Sep 2022 16:11:55 +0200, Thomas a écrit :
> > 
> > > pourquoi
> > 
> > "Users expect to be able to specify CFLAGS freely themselves. "
> 
> je ne comprend pas cet argument,
> parce que l'assertion ci-dessus est tjr vraie avec "override CFLAGS",

"If there are C compiler options that must be used for proper 
compilation of certain files, do not include them in CFLAGS."

ce que je comprend, c'est que si on faisait ça,
ça obligerais l'usager à y faire attention, et bien remettre les options 
obligatoires à chaque fois qu'il redéfinit CFLAGS.
c'est ça qu'on veut éviter.

l'usage de "override" résout ce pb.



[ajout]

désolé pour le nb de msgs.

je viens de m'apercevoir que la page sur override donne justement un 
exemple avec CFLAGS :

https://www.gnu.org/software/make/manual/html_node/Override-Directive

ça confirme mon intuition
(j'aimerais que tu expliques mieux si tu n'es pas d'accord avec ça).

et c'est très curieux que cet exemple ne soit pas repris dans la page 
sur les variables de commandes.
(mais bon, j'ai l'impression que cette doc n'est pas à 2 contradictions 
près ...)

-- 
RAPID maintainer
http://savannah.nongnu.org/projects/rapid/

Back to fr.comp.os.unix | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

ALL_CFLAGS / override CFLAGS Thomas <fantome.forums.tDeContes@free.fr.invalid> - 2022-09-17 16:11 +0200
  Re: ALL_CFLAGS / override CFLAGS Jo Engo <yl@icite.fr> - 2022-09-17 20:11 +0000
    Re: ALL_CFLAGS / override CFLAGS Thomas <fantome.forums.tDeContes@free.fr.invalid> - 2022-09-17 23:02 +0200
      Re: ALL_CFLAGS / override CFLAGS Thomas <fantome.forums.tDeContes@free.fr.invalid> - 2022-09-22 01:46 +0200
      Re: ALL_CFLAGS / override CFLAGS Thomas <fantome.forums.tDeContes@free.fr.invalid> - 2022-09-22 02:33 +0200

csiph-web