From: Michael Tremer Date: Mon, 5 Feb 2024 16:45:38 +0000 (+0000) Subject: mympd: Don't overwrite our own hardening flags X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2b21987342d75eba3998dc5b35279117691a266a;p=people%2Fms%2Fipfire-2.x.git mympd: Don't overwrite our own hardening flags Signed-off-by: Michael Tremer --- diff --git a/lfs/mympd b/lfs/mympd index ffedcdcce1..9a43ac6b7d 100644 --- a/lfs/mympd +++ b/lfs/mympd @@ -82,6 +82,10 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + + # Do not try to re-define _FORTIFY_SOURCE + cd $(DIR_APP) && sed -e "/D_FORTIFY_SOURCE/d" -i CMakeLists.txt + cd $(DIR_APP) && mkdir -p build cd $(DIR_APP)/build && cmake -Wno-dev \ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..