Re: How to not use OPTIMIZED_FLAGS properly

2011-02-08 Thread Ruslan Mahmatkhanov
07.02.2011 23:52, b. f. пишет: On 2/7/11, Ruslan Mahmatkhanov wrote: ... Yes. I get it wrong what Konstantin and portlint are said. Sorry. CFLAGS=-O0 out of CONFIGURE_ENV works just fine. Thanks. Note that CFLAGS=-O0 is (even) more restrictive than CFLAGS+=-O0 -- the latter just overrides the

Re: How to not use OPTIMIZED_FLAGS properly

2011-02-07 Thread Anonymous
Cyrille Lefevre writes: > Le 07/02/2011 18:34, Ruslan Mahmatkhanov a écrit : >> >> Hello. >> >> I'm working on port that doesn't builds with "-O2 -pipe", that passed to >> Makefile by default (it exits with message about virtual memory is >> exhausted). I can avoid this by setting CFLAGS="" and C

Re: How to not use OPTIMIZED_FLAGS properly

2011-02-07 Thread Ruslan Mahmatkhanov
08.02.2011 00:26, Ruslan Mahmatkhanov пишет: 07.02.2011 22:32, Cyrille Lefevre пишет: Le 07/02/2011 18:34, Ruslan Mahmatkhanov a écrit : Hello. I'm working on port that doesn't builds with "-O2 -pipe", that passed to Makefile by default (it exits with message about virtual memory is exhauste

Re: How to not use OPTIMIZED_FLAGS properly

2011-02-07 Thread Ruslan Mahmatkhanov
07.02.2011 22:32, Cyrille Lefevre пишет: Le 07/02/2011 18:34, Ruslan Mahmatkhanov a écrit : Hello. I'm working on port that doesn't builds with "-O2 -pipe", that passed to Makefile by default (it exits with message about virtual memory is exhausted). I can avoid this by setting CFLAGS="" and

Re: How to not use OPTIMIZED_FLAGS properly

2011-02-07 Thread b. f.
On 2/7/11, Ruslan Mahmatkhanov wrote: ... > Yes. I get it wrong what Konstantin and portlint are said. Sorry. > CFLAGS=-O0 out of CONFIGURE_ENV works just fine. Thanks. Note that CFLAGS=-O0 is (even) more restrictive than CFLAGS+=-O0 -- the latter just overrides the -On setting for n > 0, while t

Re: How to not use OPTIMIZED_FLAGS properly

2011-02-07 Thread Ruslan Mahmatkhanov
07.02.2011 22:28, b. f. пишет: Have you tried CFLAGS+=-O0 as portlint suggested? As i said before i tried that. If i'm using +=-O0 then it changes to -O2 -pipe. If i'm using =-O0, then all builds fine, but this make portlint complaining. CFLAGS and CXXFLAGS are already passed by default in d

Re: How to not use OPTIMIZED_FLAGS properly

2011-02-07 Thread Cyrille Lefevre
Le 07/02/2011 18:34, Ruslan Mahmatkhanov a écrit : Hello. I'm working on port that doesn't builds with "-O2 -pipe", that passed to Makefile by default (it exits with message about virtual memory is exhausted). I can avoid this by setting CFLAGS="" and CXXFLAGS="" in CONFIGURE_ENV. But portlint

Re: How to not use OPTIMIZED_FLAGS properly

2011-02-07 Thread b. f.
> 07.02.2011 20:50, Konstantin Tokarev пишет: > > > > > > 07.02.2011, 20:34, "Ruslan Mahmatkhanov": > >> Hello. > >> > >> I'm working on port that doesn't builds with "-O2 -pipe", that passed to > >> Makefile by default (it exits with message about virtual memory is > >> exhausted). I can avoi

Re: How to not use OPTIMIZED_FLAGS properly

2011-02-07 Thread Ruslan Mahmatkhanov
07.02.2011 20:50, Konstantin Tokarev пишет: 07.02.2011, 20:34, "Ruslan Mahmatkhanov": Hello. I'm working on port that doesn't builds with "-O2 -pipe", that passed to Makefile by default (it exits with message about virtual memory is exhausted). I can avoid this by setting CFLAGS="" and CXXFLA

Re: How to not use OPTIMIZED_FLAGS properly

2011-02-07 Thread Konstantin Tokarev
07.02.2011, 20:34, "Ruslan Mahmatkhanov" : > Hello. > > I'm working on port that doesn't builds with "-O2 -pipe", that passed to > Makefile by default (it exits with message about virtual memory is > exhausted). I can avoid this by setting CFLAGS="" and CXXFLAGS="" in > CONFIGURE_ENV. But portlin

How to not use OPTIMIZED_FLAGS properly

2011-02-07 Thread Ruslan Mahmatkhanov
Hello. I'm working on port that doesn't builds with "-O2 -pipe", that passed to Makefile by default (it exits with message about virtual memory is exhausted). I can avoid this by setting CFLAGS="" and CXXFLAGS="" in CONFIGURE_ENV. But portlint is complaining like this: WARN: Makefile: CFLAGS