mirror of
				https://github.com/minio/minio.git
				synced 2025-10-29 15:55:00 -04:00 
			
		
		
		
	Avoid linux to be hard dependency on build
This commit is contained in:
		
							parent
							
								
									a2e0a41f7e
								
							
						
					
					
						commit
						0c4dd8f5fa
					
				| @ -1,4 +1,4 @@ | ||||
| // +build linux,amd64 | ||||
| // +build amd64 | ||||
| 
 | ||||
| package cpu | ||||
| 
 | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| // +build linux,amd64 | ||||
| // +build amd64 | ||||
| 
 | ||||
| package crc32c | ||||
| 
 | ||||
|  | ||||
| @ -14,12 +14,11 @@ | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| 
 | ||||
| // +build linux | ||||
| // +build amd64 | ||||
| 
 | ||||
| package erasure | ||||
| 
 | ||||
| // #cgo CPPFLAGS: -Iisal/include | ||||
| // #cgo LDFLAGS: isal/isa-l.a | ||||
| // #include <stdlib.h> | ||||
| // #include <erasure-code.h> | ||||
| // #include <stdlib.h> | ||||
|  | ||||
| @ -14,12 +14,12 @@ | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| 
 | ||||
| // +build linux | ||||
| // +build amd64 | ||||
| 
 | ||||
| package erasure | ||||
| 
 | ||||
| // #cgo CPPFLAGS: -I./isal/include | ||||
| // #cgo LDFLAGS: ./isal/isa-l.a | ||||
| // #cgo CPPFLAGS: -Iisal/include | ||||
| // #cgo LDFLAGS: isal/isa-l.a | ||||
| // #include <stdlib.h> | ||||
| // #include <erasure-code.h> | ||||
| // #include <stdlib.h> | ||||
|  | ||||
| @ -14,8 +14,7 @@ | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| 
 | ||||
| // +build linux | ||||
| // amd64 | ||||
| // +build amd64 | ||||
| 
 | ||||
| package signify | ||||
| 
 | ||||
|  | ||||
| @ -14,8 +14,7 @@ | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| 
 | ||||
| // +build linux | ||||
| // amd64 | ||||
| // +build amd64 | ||||
| 
 | ||||
| package split | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user