[memcached] fix building with -Werror=format-security in CFLAGS

Miroslav Lichvar mlichvar at fedoraproject.org
Wed Jan 15 11:51:28 UTC 2014


commit 7cc7926de772a94a87c266f9ec9659d79f487220
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Wed Jan 15 12:31:37 2014 +0100

    fix building with -Werror=format-security in CFLAGS

 memcached.spec |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/memcached.spec b/memcached.spec
index 1a1bc3e..568bdae 100644
--- a/memcached.spec
+++ b/memcached.spec
@@ -60,7 +60,6 @@ export CFLAGS="%{optflags} -pie -fpie"
 export LDFLAGS="-Wl,-z,relro,-z,now"
 
 %configure
-sed -i 's/-Werror/ /' Makefile
 make %{?_smp_mflags}
 
 %check


More information about the scm-commits mailing list