summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-26 11:06:03 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-26 11:06:03 +0000
commit7a417ba954171a1bda5cea1f6437b01058cf48ff (patch)
tree92e8628140305161c56c45655386659b529a41d5
parent4f17126cc639d02fdbd6e42c78af16248292f792 (diff)
automatic import of gcopeneuler24.03_LTS
-rw-r--r--gc-8.2.6-make-atomic_ops_private.patch9
-rw-r--r--gc.spec4
2 files changed, 8 insertions, 5 deletions
diff --git a/gc-8.2.6-make-atomic_ops_private.patch b/gc-8.2.6-make-atomic_ops_private.patch
index 8bced81..72c2ce6 100644
--- a/gc-8.2.6-make-atomic_ops_private.patch
+++ b/gc-8.2.6-make-atomic_ops_private.patch
@@ -1,8 +1,11 @@
--- gc-8.2.6/bdw-gc.pc.in.orig 2024-08-26 18:30:05.325340608 +0800
-+++ gc-8.2.6/bdw-gc.pc.in 2024-08-26 18:31:06.229053989 +0800
-@@ -8,3 +8,4 @@
++++ gc-8.2.6/bdw-gc.pc.in 2024-08-26 19:03:10.550592464 +0800
+@@ -6,5 +6,6 @@
+ Name: Boehm-Demers-Weiser Conservative Garbage Collector
+ Description: A garbage collector for C and C++
Version: @PACKAGE_VERSION@
- Libs: -L${libdir} @ATOMIC_OPS_LIBS@ -lgc @THREADDLLIBS@
+-Libs: -L${libdir} @ATOMIC_OPS_LIBS@ -lgc @THREADDLLIBS@
++Libs: -L${libdir} -lgc @THREADDLLIBS@
Cflags: -I${includedir}
+Requires.private: @ATOMIC_OPS_PC@
--- gc-8.2.6/configure.ac.orig 2024-08-26 18:29:38.237023314 +0800
diff --git a/gc.spec b/gc.spec
index 76ab69e..237c95e 100644
--- a/gc.spec
+++ b/gc.spec
@@ -11,7 +11,7 @@ Patch3: gc-8.2.6-make-atomic_ops_private.patch
BuildRequires: gcc-c++
BuildRequires: autoconf automake libtool
-#BuildRequires: pkgconfig(atomic_ops)
+BuildRequires: pkgconfig(atomic_ops)
%description
The Boehm-Demers-Weiser conservative garbage collector can be
@@ -42,7 +42,7 @@ CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS
--enable-cplusplus \
--enable-large-config \
--enable-threads=posix \
-# --with-libatomic-ops=yes
+ --with-libatomic-ops=yes
%{make_build}