summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-05-15 22:34:58 +0200
committerBram Moolenaar <Bram@vim.org>2018-05-15 22:34:58 +0200
commit825ccf4039a1be1a6f27a8c447c57faebaf2dc83 (patch)
treea99cd5fe097706211e812735c369529def38a301 /src/Makefile
parentd4a8c98ef6b294d605c5f93309509a944dc97a79 (diff)
downloadvim-git-825ccf4039a1be1a6f27a8c447c57faebaf2dc83.tar.gz
patch 8.0.1847: some build options don't have an examplev8.0.1847
Problem: Some build options don't have an example. Solution: Add a couple more examples and compiler flags.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 5a6ad84e6..673875e58 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -446,8 +446,10 @@ CClink = $(CC)
# However, this may still cause problems, such as "import termios" failing.
# Build two separate versions of Vim in that case.
#CONF_OPT_PYTHON = --enable-pythoninterp
+#CONF_OPT_PYTHON = --enable-pythoninterp --with-python-command=python2.7
#CONF_OPT_PYTHON = --enable-pythoninterp=dynamic
#CONF_OPT_PYTHON3 = --enable-python3interp
+#CONF_OPT_PYTHON3 = --enable-python3interp --with-python3-command=python3.6
#CONF_OPT_PYTHON3 = --enable-python3interp=dynamic
# RUBY
@@ -611,8 +613,8 @@ CClink = $(CC)
#CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
# Add -Wpedantic to find // comments and other C99 constructs.
# Better disable Perl and Python to avoid a lot of warnings.
-#CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wunreachable-code -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
-#CFLAGS = -g -O2 -Wall -Wextra -Wmissing-prototypes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DU_DEBUG
+#CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wunreachable-code -Wunused-result -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
+#CFLAGS = -g -O2 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wunreachable-code -Wunused-result -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
#PYTHON_CFLAGS_EXTRA = -Wno-missing-field-initializers
#MZSCHEME_CFLAGS_EXTRA = -Wno-unreachable-code -Wno-unused-parameter