mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
ircd: Eliminate defaulted weak symbols for lib; minor relaxations remain.
This commit is contained in:
parent
e5f72b7855
commit
cd7ff331e9
2 changed files with 16 additions and 6 deletions
|
@ -18,11 +18,11 @@ AM_CPPFLAGS = \
|
|||
AM_LDFLAGS = \
|
||||
-version-info 3:2:0 \
|
||||
-Wl,--no-undefined-version \
|
||||
-Wl,--unresolved-symbols=report-all \
|
||||
-Wl,--weak-unresolved-symbols \
|
||||
-Wl,--unresolved-symbols=ignore-in-shared-libs \
|
||||
-Wl,-z,nodelete \
|
||||
-Wl,-z,nodlopen \
|
||||
-Wl,-z,now \
|
||||
-Wl,-z,lazy \
|
||||
$(PLATFORM_LDFLAGS) \
|
||||
@EXTRA_LDFLAGS@ \
|
||||
###
|
||||
|
|
18
ircd/fs.cc
18
ircd/fs.cc
|
@ -1383,18 +1383,22 @@ ircd::fs::aio::system;
|
|||
// init
|
||||
//
|
||||
|
||||
__attribute__((weak))
|
||||
#ifndef IRCD_USE_AIO
|
||||
[[gnu::weak]]
|
||||
ircd::fs::aio::init::init()
|
||||
{
|
||||
assert(!system);
|
||||
}
|
||||
#endif
|
||||
|
||||
__attribute__((weak))
|
||||
#ifndef IRCD_USE_AIO
|
||||
[[gnu::weak]]
|
||||
ircd::fs::aio::init::~init()
|
||||
noexcept
|
||||
{
|
||||
assert(!system);
|
||||
}
|
||||
#endif
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -1433,18 +1437,22 @@ ircd::fs::iou::system;
|
|||
// init
|
||||
//
|
||||
|
||||
__attribute__((weak))
|
||||
#ifndef IRCD_USE_IOU
|
||||
[[gnu::weak]]
|
||||
ircd::fs::iou::init::init()
|
||||
{
|
||||
assert(!system);
|
||||
}
|
||||
#endif
|
||||
|
||||
__attribute__((weak))
|
||||
#ifndef IRCD_USE_IOU
|
||||
[[gnu::weak]]
|
||||
ircd::fs::iou::init::~init()
|
||||
noexcept
|
||||
{
|
||||
assert(!system);
|
||||
}
|
||||
#endif
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -1892,6 +1900,7 @@ ircd::fs::reflect(const op &op)
|
|||
}
|
||||
|
||||
#ifndef IRCD_USE_AIO
|
||||
[[gnu::weak]]
|
||||
ircd::fs::op
|
||||
ircd::fs::aio::translate(const int &val)
|
||||
{
|
||||
|
@ -1900,6 +1909,7 @@ ircd::fs::aio::translate(const int &val)
|
|||
#endif
|
||||
|
||||
#ifndef IRCD_USE_IOU
|
||||
[[gnu::weak]]
|
||||
ircd::fs::op
|
||||
ircd::fs::iou::translate(const int &val)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue