mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Add configuration check: DTRACE support on amd64 requires GCC46 to
be enabled. Building with gcc version 4.2.1 20070831 causes an infinite loop while compiling erl_nif.c. Discovered by: Kenji Rikitake
This commit is contained in:
parent
71ba0a3638
commit
62448feee6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=304122
@ -70,6 +70,10 @@ ERL_RELEASE= R${PORTVERSION:S/.//g:U}
|
||||
# probes fixed does not match the number of defined probes (54 != 132,
|
||||
# respectively)" you probably misconfigured DTrace in some way.
|
||||
|
||||
.if ${ARCH} == "amd64" && ${PORT_OPTIONS:MDTRACE} && ! ${PORT_OPTIONS:MGCC46}
|
||||
IGNORE= DTRACE support on amd64 requires GCC46 option
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGCC46}
|
||||
USE_GCC?= 4.6+
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user