From: Michael Tremer Date: Mon, 5 Feb 2024 16:46:06 +0000 (+0000) Subject: vim: Don't try to build with custom _FORTIFY_SOURCE X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=953b606f64d293beff65e944c5dd63ab52d552aa;p=people%2Fms%2Fipfire-2.x.git vim: Don't try to build with custom _FORTIFY_SOURCE Signed-off-by: Michael Tremer --- diff --git a/lfs/vim b/lfs/vim index ea52c8e73f..19f6ec10a7 100644 --- a/lfs/vim +++ b/lfs/vim @@ -32,6 +32,10 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/vim90 TARGET = $(DIR_INFO)/$(THISAPP) +# vim tries to build itself with FORTIFY_SOURCE=1 and is not very good at +# filtering out any CFLAGS that might change that. So we do this ourselves. +CFLAGS := $(filter-out -Wp$(COMMA)-U_FORTIFY_SOURCE,$(CFLAGS)) + ############################################################################### # Top-level Rules ###############################################################################