gnu: acpica: Cross compile.
* gnu/packages/admin.scm (acpica)[arguments]: Use cc-for-target in make-flags.
This commit is contained in:
		
							parent
							
								
									8ec5adce41
								
							
						
					
					
						commit
						12110f949d
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1862,8 +1862,8 @@ module slots, and the list of I/O ports (e.g. serial, parallel, USB).") | |||
|     (native-inputs `(("flex" ,flex) | ||||
|                      ("bison" ,bison))) | ||||
|     (arguments | ||||
|      '(#:make-flags (list (string-append "PREFIX=" %output) | ||||
|                           "CC=gcc" | ||||
|      `(#:make-flags (list (string-append "PREFIX=" %output) | ||||
|                           (string-append "CC=" ,(cc-for-target)) | ||||
|                           "HOST=_LINUX" | ||||
|                           "OPT_CFLAGS=-Wall -fno-strict-aliasing") | ||||
|        #:tests? #f                      ; no 'check' target | ||||
|  |  | |||
		Reference in a new issue