gnu: libfaketime: Adjust flags on riscv64-linux.
* gnu/packages/check.scm (libfaketime)[arguments]: When building for riscv64-linux adjust CFLAGS to make the package work.
This commit is contained in:
		
							parent
							
								
									f57883ec79
								
							
						
					
					
						commit
						a1e84575a4
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -2808,7 +2808,8 @@ portable to just about any platform.") | |||
|                         ;; indefinitely.  See README.packagers for more information. | ||||
|                         ;; There are specific instructions to not enable more flags | ||||
|                         ;; than absolutely needed. | ||||
|                         ,(if (target-ppc64le?) | ||||
|                         ,(if (or (target-ppc64le?) | ||||
|                                  (target-riscv64?)) | ||||
|                            `(setenv "FAKETIME_COMPILE_CFLAGS" | ||||
|                                     "-DFORCE_MONOTONIC_FIX -DFORCE_PTHREAD_NONVER") | ||||
|                            `(setenv "FAKETIME_COMPILE_CFLAGS" | ||||
|  |  | |||
		Reference in a new issue