force C++ executables to be dynamic
. for C++ exceptions when built with llvm and using libunwind Change-Id: I22fe6a1fd0b2af7323c7deecce919764e2354614
This commit is contained in:
parent
d3d33afe9f
commit
18e90974b2
1 changed files with 5 additions and 0 deletions
|
@ -354,6 +354,11 @@ _CCLINKFLAGS=
|
||||||
.if defined(PROG_CXX)
|
.if defined(PROG_CXX)
|
||||||
PROG= ${PROG_CXX}
|
PROG= ${PROG_CXX}
|
||||||
_CCLINK= ${CXX} ${_CCLINKFLAGS}
|
_CCLINK= ${CXX} ${_CCLINKFLAGS}
|
||||||
|
|
||||||
|
.if defined(__MINIX)
|
||||||
|
# BJG - stack unwinding (for C++ exceptions) doesn't work on static executables when built with llvm.
|
||||||
|
LDSTATIC= -dynamic
|
||||||
|
.endif # defined(__MINIX)
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(RUMPPRG)
|
.if defined(RUMPPRG)
|
||||||
|
|
Loading…
Reference in a new issue