gnu: rdma-core: Use the "write" ioctl mode.
* gnu/packages/linux.scm (rdma-core)[arguments]: Add "-DIOCTL_MODE=write" to #:configure-flags.
This commit is contained in:
		
							parent
							
								
									eaa52b5baa
								
							
						
					
					
						commit
						2b14c60d38
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		| 
						 | 
					@ -4322,7 +4322,14 @@ The package provides additional NTFS tools.")
 | 
				
			||||||
       ;; to do the same for consistency. They also recommend using the
 | 
					       ;; to do the same for consistency. They also recommend using the
 | 
				
			||||||
       ;; "Release" build type.
 | 
					       ;; "Release" build type.
 | 
				
			||||||
       #:build-type "Release"
 | 
					       #:build-type "Release"
 | 
				
			||||||
       #:configure-flags (list "-GNinja")
 | 
					       #:configure-flags (list "-GNinja"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                               ;; On some configurations, the
 | 
				
			||||||
 | 
					                               ;; IB_USER_MAD_REGISTER_AGENT ioctl, which is
 | 
				
			||||||
 | 
					                               ;; used by default, would return ENODEV.  To
 | 
				
			||||||
 | 
					                               ;; avoid that, use 'write' instead of ioctls,
 | 
				
			||||||
 | 
					                               ;; as suggested in 'CMakeList.txt'.
 | 
				
			||||||
 | 
					                               "-DIOCTL_MODE=write")
 | 
				
			||||||
       #:phases
 | 
					       #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (replace 'build
 | 
					         (replace 'build
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue