Skip to content

Commit 8262dea

Browse files
committed
update for clang++
Signed-off-by: Hajime Tazaki <[email protected]>
1 parent ff83423 commit 8262dea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: rumpkernel/linux.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ rumpkernel_install_header()
8787
# static c++ binary needs __dso_handle (used by atexit of deconstructor),
8888
# defined by gnu library
8989
if [ "${OS}" = "linux" ] ; then
90-
export EXTRA_LDSCRIPT_CC="-Wl,-defsym,__dso_handle=0 -Wl,-defsym,__cxa_thread_atexit_impl=0"
90+
export EXTRA_LDSCRIPT_CC="-Wl,-defsym,__dso_handle=0 -Wl,-defsym,__cxa_thread_atexit_impl=0 \
91+
-Wl,-defsym,_dl_find_object=0"
9192
fi
9293
if [ "${OS}" = "darwin" ] ; then
9394
export EXTRA_LDSCRIPT_CC="-Wl,-alias,_rumpns__stext,___eh_frame_start \

0 commit comments

Comments
 (0)