gnu: whois: Fix cross compiling.
* gnu/packages/networking.scm (whois)[arguments]: Use cc-for-target and pkg-config-for-target.
This commit is contained in:
		
							parent
							
								
									3d395e3d83
								
							
						
					
					
						commit
						f6c106b46d
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -1317,7 +1317,8 @@ and up to 1 Mbit/s downstream.") | |||
|     (build-system gnu-build-system) | ||||
|     (arguments | ||||
|      `(#:tests? #f                      ; no test suite | ||||
|        #:make-flags (list "CC=gcc" | ||||
|        #:make-flags (list (string-append "CC=" ,(cc-for-target)) | ||||
|                           (string-append "PKG_CONFIG=" ,(pkg-config-for-target)) | ||||
|                           (string-append "prefix=" (assoc-ref %outputs "out"))) | ||||
|        #:phases | ||||
|        (modify-phases %standard-phases | ||||
|  |  | |||
		Reference in a new issue