Codebase list golang-github-shirou-gopsutil / 42b5d5a
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
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
33 package disk
44
55 /*
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
87 #include <stdint.h>
98
109 // ### enough?