Don't add 'yes' onto the end of errored std output lookups.
This commit is contained in:
parent
975a553380
commit
1fc7692af8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464725
@ -148,7 +148,7 @@ _LANG=c++
|
||||
.if defined(CC_OUTPUT_${_CC_hash}_${std:hash})
|
||||
OUTPUT_${std}= ${CC_OUTPUT_${_CC_hash}_${std:hash}}
|
||||
.else
|
||||
OUTPUT_${std}!= ${CC} -std=${std} -c -x ${_LANG} /dev/null -o /dev/null 2>&1; echo yes
|
||||
OUTPUT_${std}!= if ${CC} -std=${std} -c -x ${_LANG} /dev/null -o /dev/null 2>&1; then echo yes; fi; echo
|
||||
CC_OUTPUT_${_CC_hash}_${std:hash}= ${OUTPUT_${std}}
|
||||
PORTS_ENV_VARS+= CC_OUTPUT_${_CC_hash}_${std:hash}
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user