libaio/libaio-optflags.diff
Marcus Meissner b20146423c Accepting request 390457 from home:msmeissn:branches:devel:libraries:c_c++
- libaio-optflags.diff: readd -stdlib to allow -fstack-protector-strong
  builds (unclear why it was not allowedlZZ)
- 01_link_libgcc.patch, 02_libdevdir.patch: refreshed

OBS-URL: https://build.opensuse.org/request/show/390457
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libaio?expand=0&rev=27
2016-04-18 05:32:36 +00:00

14 lines
512 B
Diff

Index: libaio-0.3.109/src/Makefile
===================================================================
--- libaio-0.3.109.orig/src/Makefile
+++ libaio-0.3.109/src/Makefile
@@ -3,7 +3,7 @@ includedir=$(prefix)/include
libdir=$(prefix)/lib
ARCH := $(shell uname -m | sed -e s/i.86/i386/)
-CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC
+CFLAGS := -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC $(OPTFLAGS)
SO_CFLAGS=-shared $(CFLAGS)
L_CFLAGS=$(CFLAGS)
LINK_FLAGS=