libroot: Force __cxa_pure_virtual to be linked in libroot_debug too.

This commit is contained in:
Augustin Cavalier 2021-12-10 21:34:44 -05:00
parent 7959ac39f1
commit 08236b3b59

View File

@ -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)