@@ -386,7 +386,8 @@ CClink = $(CC)
386386# Select the architecture supported. Default is to build for the current
387387# platform. Use "both" for a universal binary. That probably doesn't work
388388# when including Perl, Python, etc.
389- # CONF_OPT_DARWIN = --with-mac-arch=i386
389+ # NOTE: ppc probably doesn't work anymore,
390+ # CONF_OPT_DARWIN = --with-mac-arch=intel
390391# CONF_OPT_DARWIN = --with-mac-arch=ppc
391392# CONF_OPT_DARWIN = --with-mac-arch=both
392393
@@ -436,6 +437,8 @@ CClink = $(CC)
436437# PYTHON
437438# Uncomment lines here when you want to include the Python interface.
438439# This requires at least "normal" features, "tiny" and "small" don't work.
440+ # Python 3 is preferred, Python 2 (often referred to as "Python") has been
441+ # deprecated for a long time.
439442# NOTE: This may cause threading to be enabled, which has side effects (such
440443# as using different libraries and debugging becomes more difficult).
441444# For Python3 support make a symbolic link in /usr/local/bin:
@@ -690,16 +693,18 @@ LINT_OPTIONS = -beprxzF
690693# PROFILE_CFLAGS=-g -O0 --coverage -DWE_ARE_PROFILING -DUSE_GCOV_FLUSH
691694
692695
693- # Uncomment one of the next two lines to compile Vim with the
694- # address sanitizer (asan) or with the undefined sanitizer. Works with gcc.
696+ # Uncomment the next lines to compile Vim with the address sanitizer (asan) and
697+ # with the undefined sanitizer. Works with gcc.
698+ # You should also use -DEXITFREE to avoid false reports.
695699# May make Vim twice as slow. Errors are reported on stderr.
696700# More at: https://code.google.com/p/address-sanitizer/
697701# Useful environment variables:
698702# $ export ASAN_OPTIONS="print_stacktrace=1 log_path=asan"
699703# $ export LSAN_OPTIONS="suppressions=`pwd`/testdir/lsan-suppress.txt"
700704# When running tests output can be found in testdir/asan.*
701- # SANITIZER_CFLAGS = -g -O0 -fsanitize=address -fno-omit-frame-pointer
702- # SANITIZER_CFLAGS = -g -O0 -fsanitize=undefined -fno-omit-frame-pointer
705+ # SANITIZER_CFLAGS = -g -O0 -fsanitize-recover=all \
706+ # -fsanitize=address -fsanitize=undefined \
707+ # -fno-omit-frame-pointer
703708
704709# Similarly when compiling with clang and using ubsan.
705710# $ export UBSAN_OPTIONS="print_stacktrace=1 log_path=ubsan"
@@ -979,7 +984,7 @@ SANITIZER_LIBS = $(SANITIZER_CFLAGS)
979984
980985# The value of QUOTESED comes from auto/config.mk.
981986# Uncomment the next line to use the default value.
982- # QUOTESED = sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$$/";/'
987+ # QUOTESED = sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$$/";/' -e 's/ */ /g'
983988
984989# #################### end of system specific lines ################### }}}
985990
@@ -1638,6 +1643,7 @@ BASIC_SRC = \
16381643 fileio.c \
16391644 filepath.c \
16401645 findfile.c \
1646+ float.c \
16411647 fold.c \
16421648 getchar.c \
16431649 gui_xim.c \
@@ -1792,6 +1798,7 @@ OBJ_COMMON = \
17921798 objects/fileio.o \
17931799 objects/filepath.o \
17941800 objects/findfile.o \
1801+ objects/float.o \
17951802 objects/fold.o \
17961803 objects/getchar.o \
17971804 objects/gui_xim.o \
@@ -1962,6 +1969,7 @@ PRO_AUTO = \
19621969 fileio.pro \
19631970 filepath.pro \
19641971 findfile.pro \
1972+ float.pro \
19651973 fold.pro \
19661974 getchar.pro \
19671975 gui_xim.pro \
@@ -3270,6 +3278,9 @@ objects/filepath.o: filepath.c
32703278objects/findfile.o : findfile.c
32713279 $(CCC ) -o $@ findfile.c
32723280
3281+ objects/float.o : float.c
3282+ $(CCC ) -o $@ float.c
3283+
32733284objects/fold.o : fold.c
32743285 $(CCC ) -o $@ fold.c
32753286
@@ -3913,6 +3924,10 @@ objects/findfile.o: findfile.c vim.h protodef.h auto/config.h feature.h os_unix.
39133924 auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
39143925 proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
39153926 proto.h errors.h globals.h
3927+ objects/float.o : float.c vim.h protodef.h auto/config.h feature.h \
3928+ os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
3929+ proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
3930+ proto.h errors.h globals.h
39163931objects/fold.o : fold.c vim.h protodef.h auto/config.h feature.h os_unix.h \
39173932 auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
39183933 proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
0 commit comments