From saptarshi.guha at gmail.com  Thu Sep  3 19:01:54 2009
From: saptarshi.guha at gmail.com (Saptarshi Guha)
Date: Thu, 3 Sep 2009 13:01:54 -0400
Subject: [Rd] Turn of -O2 during package build
In-Reply-To: <1e7471d50909030959u16ecd3c2x88894d0b8c12ef76@mail.gmail.com>
References: <1e7471d50909030959u16ecd3c2x88894d0b8c12ef76@mail.gmail.com>
Message-ID: <1e7471d50909031001u7f03c641nbfced320bde05d15@mail.gmail.com>

My own response:
use
%.o: %.cc
and not the form given below.
Regards
S

On Thu, Sep 3, 2009 at 12:59 PM, Saptarshi Guha<saptarshi.guha at gmail.com> wrote:
> Hello,
> I'm using a Makevars.in file and running my code through gdb. I
> understand i should turn of -O2, but R's makeconf overrides my
> settings
>
> /ln/meraki/custom/lib64/R/etc/Makeconf:112: warning: overriding
> commands for target `.cc.o'
>
> in Makevars.in
>
> .cc.o:
> ? ? ? ?g++ -g ${PKG_CXXFLAGS} ${PKG_LIBS} ${RINC} ${RLIB} -c $< -o $@
> Thank you
> S.
>



[Rd] Turn of -O2 during package build
Saptarshi Guha