Hi,
I build a universal electron app but can't include bufferutil because it forces arm64 output..
| 'conditions': [ |
| # Use Perl v-strings to compare versions. |
| ['clang_version and <!(perl -e \'print <(clang_version) cmp 12.0.0\')==1', { |
| 'xcode_settings': { |
| 'OTHER_CFLAGS': ['-arch arm64'], |
| 'OTHER_LDFLAGS': ['-arch arm64'] |
| } |
| }] |
Can these lines be safely removed now? On my arm mac (v15), both cc and c++ -o/ld produce arm64 output without any arch hints.
Alternatively I could produce a PR that tests <(target_arch) and will set the appropriate -arch flags for cc and ld.
Hi,
I build a universal electron app but can't include bufferutil because it forces arm64 output..
bufferutil/binding.gyp
Lines 19 to 26 in 1b9081d
Can these lines be safely removed now? On my arm mac (v15), both
ccandc++ -o/ldproduce arm64 output without any arch hints.Alternatively I could produce a PR that tests
<(target_arch)and will set the appropriate-archflags forccandld.