[zmap/el6] RHEL6 doesn't support ldflags, and ENABLE_HARDENING seems doing wrong here.

Christopher Meng cicku at fedoraproject.org
Mon Feb 24 02:32:59 UTC 2014


commit 885341ee1b5788d0fd379f05e9a7e52169e2de60
Author: Christopher Meng <i at cicku.me>
Date:   Mon Feb 24 10:33:02 2014 +0800

    RHEL6 doesn't support ldflags, and ENABLE_HARDENING seems doing wrong here.

 zmap.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/zmap.spec b/zmap.spec
index 5411358..3334bc1 100644
--- a/zmap.spec
+++ b/zmap.spec
@@ -37,7 +37,7 @@ scanning.
 %patch0 -p1
 
 %build
-%cmake -DWITH_JSON=ON -DWITH_REDIS=ON
+%cmake -DWITH_JSON=ON -DWITH_REDIS=ON -DENABLE_HARDENING=OFF
 make %{?_smp_mflags}
 chmod 644 -v examples/udp-probes/*
 find ./examples/ -type f -exec sed -i 's/\r$//' {} ";"


More information about the scm-commits mailing list