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>
This commit is contained in:
		
							parent
							
								
									8937898af9
								
							
						
					
					
						commit
						d6ae80c742
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -59,6 +59,7 @@ | ||||||
| ;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com> | ;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com> | ||||||
| ;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu> | ;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu> | ||||||
| ;;; Copyright © 2023 Yovan Naumovski <yovan@gorski.stream> | ;;; Copyright © 2023 Yovan Naumovski <yovan@gorski.stream> | ||||||
|  | ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> | ||||||
| ;;; | ;;; | ||||||
| ;;; This file is part of GNU Guix. | ;;; 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)))) |              (commit (string-append "v" version)))) | ||||||
|        (file-name (git-file-name name version)) |        (file-name (git-file-name name version)) | ||||||
|        (sha256 |        (sha256 | ||||||
|         (base32 "07kwika1zdq62s5p5z94xznm77dxjxdg8k0hrg7wygz50151nzmx")))) |         (base32 "07kwika1zdq62s5p5z94xznm77dxjxdg8k0hrg7wygz50151nzmx")) | ||||||
|  |        (modules '((guix build utils))) | ||||||
|  |        (snippet '(begin (substitute* '("Makefile") | ||||||
|  |                           (("-march=native") "")))))) | ||||||
|     (build-system gnu-build-system) |     (build-system gnu-build-system) | ||||||
|     (arguments |     (arguments | ||||||
|      (list |      (list | ||||||
|  | @ -3126,6 +3130,7 @@ The filters can be aggregated and exported in the most common formats.") | ||||||
|            libpcap |            libpcap | ||||||
|            openssl |            openssl | ||||||
|            perl)) |            perl)) | ||||||
|  |     (properties '((tunable? . #t))) | ||||||
|     (home-page "https://github.com/vanhauser-thc/thc-ipv6") |     (home-page "https://github.com/vanhauser-thc/thc-ipv6") | ||||||
|     (synopsis "IPv6 security research toolkit") |     (synopsis "IPv6 security research toolkit") | ||||||
|     (description "The THC IPv6 Toolkit provides command-line tools and a library |     (description "The THC IPv6 Toolkit provides command-line tools and a library | ||||||
|  |  | ||||||
		Reference in a new issue