Skip to content

Commit 34cc96b

Browse files
committed
stunnel: workaround is for gcc/clang
1 parent ef22109 commit 34cc96b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

security/stunnel/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ SUBST_STAGE.stunnel= pre-configure
4646
SUBST_FILES.stunnel= tools/stunnel.conf-sample.in
4747
SUBST_VARS.stunnel= STUNNEL_USER STUNNEL_GROUP
4848

49+
.include "../../mk/compiler.mk"
50+
51+
.if ${CC_VERSION:Mgcc-*} || ${CC_VERSION:Mclang-*}
4952
CPPFLAGS.SunOS+= -Dalloca=__builtin_alloca
53+
.endif
5054

5155
TEST_TARGET= check
5256

0 commit comments

Comments
 (0)