1 |
commit: 71b5f23ce2ed0cea82ef576b6db98606831e43da |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 17:51:43 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 17:51:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b5f23c |
7 |
|
8 |
net-misc/dhcp: add -latomic for x86 too |
9 |
|
10 |
Closes: https://bugs.gentoo.org/801592 |
11 |
Bug: https://bugs.gentoo.org/841482 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild | 4 ++-- |
15 |
net-misc/dhcp/dhcp-4.4.3-r1.ebuild | 4 ++-- |
16 |
2 files changed, 4 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild b/net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild |
19 |
index df94d6ae017e..4c213e87fbc3 100644 |
20 |
--- a/net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild |
21 |
+++ b/net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild |
22 |
@@ -163,8 +163,8 @@ src_configure() { |
23 |
# bug #787935 |
24 |
append-flags -fno-strict-aliasing |
25 |
|
26 |
- # https://bugs.gentoo.org/720806 |
27 |
- if use ppc || use arm || use hppa; then |
28 |
+ # bug #720806, bug #801592 |
29 |
+ if use ppc || use arm || use hppa || use x86; then |
30 |
append-libs -latomic |
31 |
fi |
32 |
|
33 |
|
34 |
diff --git a/net-misc/dhcp/dhcp-4.4.3-r1.ebuild b/net-misc/dhcp/dhcp-4.4.3-r1.ebuild |
35 |
index b261be6fe3cc..518577815642 100644 |
36 |
--- a/net-misc/dhcp/dhcp-4.4.3-r1.ebuild |
37 |
+++ b/net-misc/dhcp/dhcp-4.4.3-r1.ebuild |
38 |
@@ -167,8 +167,8 @@ src_configure() { |
39 |
# bug #787935 |
40 |
append-flags -fno-strict-aliasing |
41 |
|
42 |
- # https://bugs.gentoo.org/720806 |
43 |
- if use ppc || use arm || use hppa; then |
44 |
+ # bug #720806, bug #801592 |
45 |
+ if use ppc || use arm || use hppa || use x86; then |
46 |
append-libs -latomic |
47 |
fi |