[ntp/f18] compile with -fno-strict-overflow

Miroslav Lichvar mlichvar at fedoraproject.org
Fri Jan 4 18:06:22 UTC 2013


commit 39c4ccfa2b30cb22ef599da2bc6b21019abcb985
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Fri Jan 4 19:01:01 2013 +0100

    compile with -fno-strict-overflow

 ntp.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ntp.spec b/ntp.spec
index 71494ac..f4ea93c 100644
--- a/ntp.spec
+++ b/ntp.spec
@@ -214,7 +214,7 @@ done
 touch ntpd/ntpd-opts.texi util/ntp-keygen-opts.texi
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow"
 if echo 'int main () { return 0; }' | gcc -pie -fPIE -O2 -xc - -o pietest 2>/dev/null; then
 	./pietest && export CFLAGS="$CFLAGS -pie -fPIE"
 	rm -f pietest


More information about the scm-commits mailing list