On 05/03/2018 08:31 AM, Xi Ruoyao wrote:
By default Vim is compiled without any compiler optimization.  Then
it becomes very slow under certain circumstances (for example, when
using netrw to view directory content).

The Vim installation documentation says that we can provide optimize
options in Makefile variable:

     make CFLAGS="-O2"

The autoconf variable (CFLAGS="-O2" ./configure ...) would be ignored.

And, use -O2 could stop the warning "_FORTIFY_SOURCE requires compiling
with optimization (-O)".

I've never had a problem with vim using the standard build. Our general approach is that upstream knows best, so that we rarely change optimization flags.

I am not familiar with the operation "using netrw to view directory content". Can you give some more detail on that? If we do change the optimization flags, we will need to do it in both LFS and BLFS.

Is it possible the problem you mention is language/font specific?

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to