lang/gcc12: check for CPUTYPE being defined
Reported by: freshports
This commit is contained in:
parent
ec3e02d42f
commit
6f24acefb2
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ MULTILIB_CONFIGURE_ENABLE= multilib
|
|||
CONFIGURE_ARGS+= --disable-multilib
|
||||
.endif
|
||||
|
||||
.if ${CPUTYPE:Mg[3-5]}
|
||||
.if defined(CPUTYPE) && ${CPUTYPE:Mg[3-5]}
|
||||
CFLAGS:= ${CFLAGS:S/mcpu=g/mcpu=G/}
|
||||
CXXFLAGS:= ${CFLAGS:S/mcpu=g/mcpu=G/}
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue