From: Pavel Roskin <[EMAIL PROTECTED]>
Subject: Overriding CFLAGS at runtime
Date: Sat, 28 Aug 1999 15:25:15 +0400 (EEST)
> make GRUB_CFLAGS=-g
>
> I expect that the GRUB shell will be built without optimization (because
> I'm going to debug it). However, the -O2 option is not suppressed, since
> it's hardcoded in stage2/Makefile.in
I don't think -O2 disables you from debugging it. Do you have
another reason?
> Automake is smart enough to place FOO=@FOO@ at the beginning of
> Makefile.in when necessary.
As long as I see, Automake just adds FOO=@FOO@, whether FOO is used
or not. Not smart.
----------------------------------------------------------------------
OKUJI Yoshinori <[EMAIL PROTECTED]> ^o-o^
http://duff.kuicr.kyoto-u.ac.jp/~okuji (in English) m /