Skip to content

Commit

Permalink
sync.stdatomic: add OpenSUSE paths for libatomic
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Sep 14, 2024
1 parent 8db2300 commit 469a532
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions vlib/sync/stdatomic/1.declarations.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ $if linux {
#flag -L/usr/lib/gcc/x86_64-pc-linux-gnu/12
#flag -L/usr/lib/gcc/x86_64-pc-linux-gnu/13
#flag -L/usr/lib/gcc/x86_64-pc-linux-gnu/14
// OpenSUSE paths:
#flag -L/usr/lib64/gcc/x86_64-suse-linux/6
#flag -L/usr/lib64/gcc/x86_64-suse-linux/7
#flag -L/usr/lib64/gcc/x86_64-suse-linux/8
#flag -L/usr/lib64/gcc/x86_64-suse-linux/9
#flag -L/usr/lib64/gcc/x86_64-suse-linux/10
#flag -L/usr/lib64/gcc/x86_64-suse-linux/11
#flag -L/usr/lib64/gcc/x86_64-suse-linux/12
#flag -L/usr/lib64/gcc/x86_64-suse-linux/13
#flag -L/usr/lib64/gcc/x86_64-suse-linux/14
$if musl ? {
#flag -L/usr/lib/gcc/x86_64-pc-linux-musl/6
#flag -L/usr/lib/gcc/x86_64-pc-linux-musl/7
Expand Down Expand Up @@ -86,6 +96,16 @@ $if linux {
#flag -L/usr/lib/gcc/aarch64-pc-linux-gnu/12
#flag -L/usr/lib/gcc/aarch64-pc-linux-gnu/13
#flag -L/usr/lib/gcc/aarch64-pc-linux-gnu/14
// OpenSUSE paths:
#flag -L/usr/lib64/gcc/aarch64-suse-linux/6
#flag -L/usr/lib64/gcc/aarch64-suse-linux/7
#flag -L/usr/lib64/gcc/aarch64-suse-linux/8
#flag -L/usr/lib64/gcc/aarch64-suse-linux/9
#flag -L/usr/lib64/gcc/aarch64-suse-linux/10
#flag -L/usr/lib64/gcc/aarch64-suse-linux/11
#flag -L/usr/lib64/gcc/aarch64-suse-linux/12
#flag -L/usr/lib64/gcc/aarch64-suse-linux/13
#flag -L/usr/lib64/gcc/aarch64-suse-linux/14
}
#flag -latomic
}
Expand Down

0 comments on commit 469a532

Please sign in to comment.