From: Michael Tremer Date: Fri, 26 Oct 2018 10:31:40 +0000 (+0100) Subject: libaio: Link against standard libraries X-Git-Tag: v2.21-core125~41^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b9e02ee6b38061786804ec6e694a3293e38b4e20;p=ipfire-2.x.git 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 --- 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)