From b9e02ee6b38061786804ec6e694a3293e38b4e20 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 26 Oct 2018 11:31:40 +0100 Subject: [PATCH] libaio: Link against standard libraries This patch fixes a build error when stack smashing protecion is being enabled and __stack_chk_fail_local needs to be pulled from libc. Signed-off-by: Michael Tremer --- lfs/libaio | 1 + 1 file changed, 1 insertion(+) diff --git a/lfs/libaio b/lfs/libaio index 06c206b086..f71c58909b 100644 --- a/lfs/libaio +++ b/lfs/libaio @@ -73,6 +73,7 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && sed -e "s@-nostdlib -nostartfiles@@g" -i src/Makefile cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make prefix=/usr install @rm -rf $(DIR_APP) -- 2.39.2