blob: cc91ea99d91cea0ab6e418726052eb87efd7dc52 [file] [log] [blame]
Patrick Williamsf1e5d692016-03-30 15:21:19 -05001From 94bba6880b1f10c6b3bf33a17ac40935d65a81ae Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com>
3Date: Fri, 6 Nov 2015 15:19:46 +0000
4Subject: [PATCH] Don't remove the system libraries and startup files from
5 libaio, as in some build configurations these are required. For example,
6 including conf/include/security_flags.inc on PPC results in:
7
8io_queue_init.os: In function `io_queue_init':
9tmp/work/ppce300c3-poky-linux/libaio/0.3.110-r0/libaio-0.3.110/src/io_queue_init.c:33:
10undefined reference to `__stack_chk_fail_local'
11
12Upstream-Status: Pending
13Signed-off-by: Ross Burton <ross.burton@intel.com>
14---
Andrew Geisslerc723b722021-01-08 16:14:09 -060015 src/Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
Patrick Williamsf1e5d692016-03-30 15:21:19 -050017
18diff --git a/src/Makefile b/src/Makefile
Andrew Geisslerc723b722021-01-08 16:14:09 -060019index 37ae219..22e0c9a 100644
Patrick Williamsf1e5d692016-03-30 15:21:19 -050020--- a/src/Makefile
21+++ b/src/Makefile
Andrew Geisslerc723b722021-01-08 16:14:09 -060022@@ -6,7 +6,7 @@ CFLAGS ?= -g -fomit-frame-pointer -O2
23 CFLAGS += -Wall -I. -fPIC
Patrick Williamsf1e5d692016-03-30 15:21:19 -050024 SO_CFLAGS=-shared $(CFLAGS)
25 L_CFLAGS=$(CFLAGS)
26-LINK_FLAGS=
27+LINK_FLAGS=$(LDFLAGS)
28 LINK_FLAGS+=$(LDFLAGS)
Andrew Geisslerc723b722021-01-08 16:14:09 -060029 ENABLE_SHARED ?= 1
Patrick Williamsf1e5d692016-03-30 15:21:19 -050030
Patrick Williamsf1e5d692016-03-30 15:21:19 -050031--
Andrew Geisslerc723b722021-01-08 16:14:09 -0600322.25.1
Patrick Williamsf1e5d692016-03-30 15:21:19 -050033