Files
node-cryptoforknote-util-sa…/binding.gyp
MoneroOcean 662c61ee4b Bug fix
2020-07-15 11:15:40 -07:00

41 lines
1.5 KiB
Python

{
"targets": [
{
"target_name": "cryptoforknote",
"sources": [
"src/main.cc",
"src/cryptonote_core/cryptonote_format_utils.cpp",
"src/offshore/pricing_record.cpp",
"src/crypto/tree-hash.c",
"src/crypto/crypto.cpp",
"src/crypto/crypto-ops.c",
"src/crypto/crypto-ops-data.c",
"src/crypto/hash.c",
"src/crypto/keccak.c",
"src/common/base58.cpp",
],
"include_dirs": [
"src",
"src/contrib/epee/include",
"/usr/local/opt/boost/include",
"<!(node -e \"require('nan')\")",
],
"link_settings": {
"libraries": [
"-lboost_system",
"-lboost_date_time",
]
},
"cflags_c": [
"-fno-exceptions -std=gnu11 -march=native -fPIC -DNDEBUG -Ofast -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2"
],
"cflags_cc": [
"-fexceptions -frtti -std=gnu++11 -march=native -fPIC -DNDEBUG -Ofast -s -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2"
],
"xcode_settings": {
"OTHER_CFLAGS": [ "-fexceptions -frtti" ]
}
}
]
}