mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-12 21:34:33 +00:00
Force usage of GCC on MacOS for #2
This commit is contained in:
parent
00a0aa9970
commit
1cf5e6694b
@ -1 +1,14 @@
|
|||||||
-p:"../src"
|
-p:"../src"
|
||||||
|
|
||||||
|
# TODO FIXME
|
||||||
|
# Default compiler on Mac is Clang.
|
||||||
|
# Currently it does not compile due to "Flexible array member with non-trivial destruction"
|
||||||
|
# See https://github.com/status-im/nimbus/issues/2
|
||||||
|
# As a workaround, forces GCC-7 on Mac
|
||||||
|
# GCC-7 is available through Homebrew
|
||||||
|
|
||||||
|
@if macosx:
|
||||||
|
cc:"gcc"
|
||||||
|
gcc.cpp.exe:"/usr/local/bin/g++-7"
|
||||||
|
gcc.cpp.linkerexe:"/usr/local/bin/g++-7"
|
||||||
|
@end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user