From b362395a469b7844f54ed57a2510efe4c6a67668 Mon Sep 17 00:00:00 2001
From: wang-bin <wbsecg1@gmail.com>
Date: Fri, 10 Mar 2017 04:02:13 +0000
Subject: [PATCH] configure: clang -Oz for small size build to reduce size
 further

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

diff --git a/configure b/configure
index 6350942ef9..cbab12139a 100755
--- a/configure
+++ b/configure
@@ -4030,7 +4030,7 @@ probe_cc(){
         _ident=$($_cc --version 2>/dev/null | head -n1)
         _depflags='-MMD -MF $(@:.o=.d) -MT $@'
         _cflags_speed='-O3'
-        _cflags_size='-Os'
+        _cflags_size='-Oz'
     elif $_cc -V 2>&1 | grep -q Sun; then
         _type=suncc
         _ident=$($_cc -V 2>&1 | head -n1 | cut -d' ' -f 2-)
-- 
2.12.0

