summaryrefslogtreecommitdiff
path: root/package/libaio/patches/patch-src_Makefile.orig
blob: 8e6a081797999e136f10d05f629ca7f54db7ed4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- libaio-0.3.109.orig/src/Makefile	2009-10-09 20:17:02.000000000 +0200
+++ libaio-0.3.109/src/Makefile	2012-08-18 12:46:43.000000000 +0200
@@ -3,7 +3,8 @@ 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 ?= -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC
+CFLAGS += -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC
 SO_CFLAGS=-shared $(CFLAGS)
 L_CFLAGS=$(CFLAGS)
 LINK_FLAGS=