mirror of
https://github.com/cryptonote-social/csminer.git
synced 2024-09-11 05:35:23 +03:00
add min mac version flag
This commit is contained in:
parent
d34e2d3d31
commit
e1764d89cd
@ -1,4 +1,4 @@
|
||||
go build -a -o capi.dynlib -buildmode=c-shared -ldflags="-extldflags=-Wl,-install_name,@rpath/capi.dynlib -s -w" capi.go
|
||||
CGO_CFLAGS=-mmacosx-version-min=10.13 CGO_LDFLAGS=-mmacosx-version-min=10.13 go build -a -o capi.dynlib -buildmode=c-shared -ldflags="-extldflags=-Wl,-install_name,@rpath/capi.dynlib -s -w" capi.go
|
||||
|
||||
gcc -O3 -c test.c -o test.o
|
||||
gcc -O3 -L../../rxlib/ test.o capi.dynlib ../../rxlib/rxlib.cpp.o -lrandomx -lstdc++ -lm -rpath `pwd` -o test
|
||||
|
Loading…
Reference in New Issue
Block a user