guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: gnu: thc-ipv6: Do not build with "-march=native".


From: guix-commits
Subject: 01/04: gnu: thc-ipv6: Do not build with "-march=native".
Date: Tue, 6 Jun 2023 02:58:37 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit d6ae80c74200216fe7615739896fc1c6eacf7e7d
Author: Z572 <873216071@qq.com>
AuthorDate: Tue Jun 6 09:20:50 2023 +0300

    gnu: thc-ipv6: Do not build with "-march=native".
    
    * gnu/packages/networking.scm (thc-ipv6)[origin]: Add 'snippet'.
    [properties]: New field.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/networking.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 9dfc785f04..2055ed93c7 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -59,6 +59,7 @@
 ;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
 ;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
 ;;; Copyright © 2023 Yovan Naumovski <yovan@gorski.stream>
+;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3097,7 +3098,10 @@ The filters can be aggregated and exported in the most 
common formats.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "07kwika1zdq62s5p5z94xznm77dxjxdg8k0hrg7wygz50151nzmx"))))
+        (base32 "07kwika1zdq62s5p5z94xznm77dxjxdg8k0hrg7wygz50151nzmx"))
+       (modules '((guix build utils)))
+       (snippet '(begin (substitute* '("Makefile")
+                          (("-march=native") ""))))))
     (build-system gnu-build-system)
     (arguments
      (list
@@ -3126,6 +3130,7 @@ The filters can be aggregated and exported in the most 
common formats.")
            libpcap
            openssl
            perl))
+    (properties '((tunable? . #t)))
     (home-page "https://github.com/vanhauser-thc/thc-ipv6";)
     (synopsis "IPv6 security research toolkit")
     (description "The THC IPv6 Toolkit provides command-line tools and a 
library



reply via email to

[Prev in Thread] Current Thread [Next in Thread]