File 0002-allow-passing-in-optflags.patch of Package u2f-utils

From 87d3afdf5cac085b646c6eb4d78beb0584f05c89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcus=20R=C3=BCckert?= <darix@nordisch.org>
Date: Mon, 19 Jan 2015 15:45:56 +0100
Subject: [PATCH 2/5] allow passing in optflags

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 0379927..42d6f82 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ CC=cc
 LDFLAGS=-Wl,-L$(SSL)/lib -lssl -lcrypto
 CFLAGS=-I$(SSL)/include
 
-CFLAGS+=-fPIC -c -O2
+CFLAGS+=-fPIC -c -O2 $(OPTFLAGS)
 
 ifeq ($(UNAME), Linux)
 LDFLAGS+=-Wl,-soname=pam_fido-u2f.so
-- 
2.1.2

openSUSE Build Service is sponsored by