Avoid linux to be hard dependency on build

This commit is contained in:
Harshavardhana committed 2014-12-04 01:12:10 -08:00
1 parent a2e0a41f7e
commit 0c4dd8f5fa
6 files changed
+8 -11

No files matched your search

+3 -3
View File
@@ -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>