diff --git a/vlib/sync/stdatomic/1.declarations.c.v b/vlib/sync/stdatomic/1.declarations.c.v index 7a6aba68387cc3..c9b65b967e5e4a 100644 --- a/vlib/sync/stdatomic/1.declarations.c.v +++ b/vlib/sync/stdatomic/1.declarations.c.v @@ -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 @@ -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 }