From e8d9cc1bddf204d83957d2c73bd287f3c3c1360b Mon Sep 17 00:00:00 2001
From: Dmitry Golovin <dima@golovin.in>
Date: Thu, 12 Jan 2017 13:00:58 +0200
Subject: [PATCH 1/1] properly test for unsupported optimization flags with
 clang

---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index c2db298..73d0b04 100755
--- a/configure
+++ b/configure
@@ -249,6 +249,7 @@ fi
 #
 tryflag   CFLAGS_TRY  -Werror=unknown-warning-option
 tryflag   CFLAGS_TRY  -Werror=unused-command-line-argument
+tryflag   CFLAGS_TRY  -Werror=ignored-optimization-argument
 tryldflag LDFLAGS_TRY -Werror=unknown-warning-option
 tryldflag LDFLAGS_TRY -Werror=unused-command-line-argument
 
-- 
2.7.4