From 08236b3b5966909f17f9d6959ce41e2a940baf1a Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Fri, 10 Dec 2021 21:34:44 -0500 Subject: [PATCH] libroot: Force __cxa_pure_virtual to be linked in libroot_debug too. --- src/system/libroot/Jamfile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/system/libroot/Jamfile b/src/system/libroot/Jamfile index 4d7970bef2..c1b3a8cfed 100644 --- a/src/system/libroot/Jamfile +++ b/src/system/libroot/Jamfile @@ -81,6 +81,7 @@ for architectureObject in [ MultiArchSubDirSetup ] { # force __cxa_pure_virtual to be linked instead of weak # TODO: remove once we handle weak symbols correctly! LINKFLAGS on $(libroot) += -Wl,-u,__cxa_pure_virtual ; + LINKFLAGS on $(librootDebug) += -Wl,-u,__cxa_pure_virtual ; } SharedLibrary $(libroot)