Projects
openEuler:24.03:SP1:Everything:64G
numactl
_service:tar_scm:0009-riscv64-remove-flag-latom...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0009-riscv64-remove-flag-latomic.patch of Package numactl
From a37ca95db184fb97c55a294449fe7622a5aecdda Mon Sep 17 00:00:00 2001 From: laokz <zhangkai@iscas.ac.cn> Date: Tue, 18 Jul 2023 19:37:14 +0800 Subject: [PATCH] riscv64: remove flag -latomic Because openEuler gcc already support inline subword atomic for RISC-V, remove the redundant flag. --- Makefile.am | 3 --- Makefile.in | 1 - 2 files changed, 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index d64df5d..ba6cd48 100644 --- a/Makefile.am +++ b/Makefile.am @@ -41,9 +41,6 @@ memhog_LDADD = libnuma.la libnuma_la_SOURCES = libnuma.c syscall.c distance.c affinity.c affinity.h sysfs.c sysfs.h rtnetlink.c rtnetlink.h versions.ldscript libnuma_la_LDFLAGS = -version-info 1:0:0 -Wl,--version-script,$(srcdir)/versions.ldscript -Wl,-init,numa_init -Wl,-fini,numa_fini -if RISCV64 -libnuma_la_LDFLAGS += -latomic -endif check_PROGRAMS = \ test/distance \ diff --git a/Makefile.in b/Makefile.in index 8cbad1c..a196ea0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -95,7 +95,6 @@ target_triplet = @target@ bin_PROGRAMS = numactl$(EXEEXT) numastat$(EXEEXT) numademo$(EXEEXT) \ migratepages$(EXEEXT) migspeed$(EXEEXT) memhog$(EXEEXT) @HAVE_TREE_VECTORIZE_TRUE@am__append_1 = -ftree-vectorize -@RISCV64_TRUE@am__append_2 = -latomic check_PROGRAMS = test/distance$(EXEEXT) test/ftok$(EXEEXT) \ test/mbind_mig_pages$(EXEEXT) test/migrate_pages$(EXEEXT) \ test/move_pages$(EXEEXT) test/mynode$(EXEEXT) \ -- 2.40.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2