Package: libaio / 0.3.110-1

01_link_libs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
 src/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/Makefile
+++ b/src/Makefile
@@ -6,7 +6,7 @@ CFLAGS ?= -g -fomit-frame-pointer -O2
 CFLAGS += -nostdlib -nostartfiles -Wall -I. -fPIC
 SO_CFLAGS=-shared $(CFLAGS)
 L_CFLAGS=$(CFLAGS)
-LINK_FLAGS=
+LINK_FLAGS=-Wl,--as-needed -lgcc -lc
 LINK_FLAGS+=$(LDFLAGS)
 
 soname=libaio.so.1