libaio/01_link_libgcc.patch

18 lines
510 B
Diff
Raw Normal View History

---
src/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: libaio-0.3.107/src/Makefile
===================================================================
--- libaio-0.3.107.orig/src/Makefile
+++ libaio-0.3.107/src/Makefile
@@ -6,7 +6,7 @@ ARCH := $(shell uname -m | sed -e s/i.86
CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC $(OPTFLAGS)
SO_CFLAGS=-shared $(CFLAGS)
L_CFLAGS=$(CFLAGS)
-LINK_FLAGS=
+LINK_FLAGS := -lgcc
soname=libaio.so.1
minor=0