openbsd-ports/telephony/asterisk/patches/patch-codecs_ilbc_Makefile

14 lines
348 B
Plaintext

$OpenBSD: patch-codecs_ilbc_Makefile,v 1.1 2006/02/02 03:41:36 todd Exp $
--- codecs/ilbc/Makefile.orig Thu Jan 26 18:04:58 2006
+++ codecs/ilbc/Makefile Thu Jan 26 18:04:41 2006
@@ -1,5 +1,9 @@
ARCH=$(PROC)
+ifneq (${OSARCH},OpenBSD)
CFLAGS+=-Wall -O3 -funroll-loops
+else
+CFLAGS+=-Wall
+endif
ifneq (${OSARCH},CYGWIN)
CFLAGS += -fPIC
endif