mirror of
https://github.com/minio/minio.git
synced 2024-12-23 21:55:53 -05: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…
Reference in New Issue
Block a user