a353cf8736
Fix the following build failure raised since bump to version 2.0.16 in
commit e9bc980d93
:
/nvmedata/autobuild/instance-7/output-1/per-package/numactl/host/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ./.libs/libnuma.a(libnuma.o): in function `numa_police_memory':
libnuma.c:(.text+0xe28): undefined reference to `__atomic_fetch_and_1'
Fixes:
- http://autobuild.buildroot.org/results/a92c1c60518d3fe08f3f808f9cc812031e85a4e9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
18 lines
569 B
Makefile
18 lines
569 B
Makefile
################################################################################
|
|
#
|
|
# numactl
|
|
#
|
|
################################################################################
|
|
|
|
NUMACTL_VERSION = 2.0.16
|
|
NUMACTL_SITE = \
|
|
https://github.com/numactl/numactl/releases/download/v$(NUMACTL_VERSION)
|
|
NUMACTL_LICENSE = LGPL-2.1 (libnuma), GPL-2.0 (programs)
|
|
NUMACTL_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1
|
|
NUMACTL_INSTALL_STAGING = YES
|
|
# We're patching configure.ac
|
|
NUMACTL_AUTORECONF = YES
|
|
NUMACTL_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -fPIC"
|
|
|
|
$(eval $(autotools-package))
|