mympd: Don't overwrite our own hardening flags

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-02-05 16:45:38 +00:00
parent 691a64130f
commit be60a304dd

View File

@@ -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 ..