Mercurial > vim
comparison src/Makefile @ 3196:4e9c5338f44c v7.3.368
updated for version 7.3.368
Problem: Gcc complains about redefining _FORTIFY_SOURCE.
Solution: Undefine it before redefining it.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 08 Dec 2011 15:17:34 +0100 |
parents | b5a2b4c0c1ca |
children | 6cc788692b2e |
comparison
equal
deleted
inserted
replaced
3195:2a56979e57de | 3196:4e9c5338f44c |
---|---|
559 #CFLAGS = -O6 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes | 559 #CFLAGS = -O6 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes |
560 #CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes | 560 #CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes |
561 #CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes | 561 #CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes |
562 | 562 |
563 # Use this with GCC to check for mistakes, unused arguments, etc. | 563 # Use this with GCC to check for mistakes, unused arguments, etc. |
564 #CFLAGS = -g -Wall -Wextra -Wmissing-prototypes -Wunreachable-code -D_FORTIFY_SOURCE=1 | 564 #CFLAGS = -g -Wall -Wextra -Wmissing-prototypes -Wunreachable-code -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 |
565 #CFLAGS = -g -O2 -Wall -Wextra -Wmissing-prototypes -D_FORTIFY_SOURCE=1 -DU_DEBUG | 565 #CFLAGS = -g -O2 -Wall -Wextra -Wmissing-prototypes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DU_DEBUG |
566 #PYTHON_CFLAGS_EXTRA = -Wno-missing-field-initializers | 566 #PYTHON_CFLAGS_EXTRA = -Wno-missing-field-initializers |
567 #MZSCHEME_CFLAGS_EXTRA = -Wno-unreachable-code -Wno-unused-parameter | 567 #MZSCHEME_CFLAGS_EXTRA = -Wno-unreachable-code -Wno-unused-parameter |
568 | 568 |
569 # EFENCE - Electric-Fence malloc debugging: catches memory accesses beyond | 569 # EFENCE - Electric-Fence malloc debugging: catches memory accesses beyond |
570 # allocated memory (and makes every malloc()/free() very slow). | 570 # allocated memory (and makes every malloc()/free() very slow). |