Merge pull request #406 from jen20/fix-osx-build
disk: Remove -mmacosx-version-min from darwin+cgo
shirou authored 6 years ago
GitHub committed 6 years ago
3 | 3 |
package disk
|
4 | 4 |
|
5 | 5 |
/*
|
6 | |
#cgo CFLAGS: -mmacosx-version-min=10.10 -DMACOSX_DEPLOYMENT_TARGET=10.10
|
7 | |
#cgo LDFLAGS: -mmacosx-version-min=10.10 -lobjc -framework Foundation -framework IOKit
|
|
6 |
#cgo LDFLAGS: -lobjc -framework Foundation -framework IOKit
|
8 | 7 |
#include <stdint.h>
|
9 | 8 |
|
10 | 9 |
// ### enough?
|