[Rd] Turn of -O2 during package build
Saptarshi Guha
saptarshi.guha at gmail.com
Thu Sep 3 19:01:54 CEST 2009
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.
>
More information about the R-devel
mailing list