mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sync: enable tcc compilation of sync programs on Amazon Linux 2 (and other Red Hat distros like CentOS) by default (#13664)
This commit is contained in:
parent
6380b9eb15
commit
b0f651bf81
@ -21,6 +21,13 @@ $if linux {
|
||||
#flag -L/usr/lib/gcc/x86_64-linux-gnu/10
|
||||
#flag -L/usr/lib/gcc/x86_64-linux-gnu/11
|
||||
#flag -L/usr/lib/gcc/x86_64-linux-gnu/12
|
||||
#flag -L/usr/lib/gcc/x86_64-redhat-linux/6
|
||||
#flag -L/usr/lib/gcc/x86_64-redhat-linux/7
|
||||
#flag -L/usr/lib/gcc/x86_64-redhat-linux/8
|
||||
#flag -L/usr/lib/gcc/x86_64-redhat-linux/9
|
||||
#flag -L/usr/lib/gcc/x86_64-redhat-linux/10
|
||||
#flag -L/usr/lib/gcc/x86_64-redhat-linux/11
|
||||
#flag -L/usr/lib/gcc/x86_64-redhat-linux/12
|
||||
} $else $if arm64 {
|
||||
#flag -L/usr/lib/gcc/aarch64-linux-gnu/6
|
||||
#flag -L/usr/lib/gcc/aarch64-linux-gnu/7
|
||||
@ -29,6 +36,13 @@ $if linux {
|
||||
#flag -L/usr/lib/gcc/aarch64-linux-gnu/10
|
||||
#flag -L/usr/lib/gcc/aarch64-linux-gnu/11
|
||||
#flag -L/usr/lib/gcc/aarch64-linux-gnu/12
|
||||
#flag -L/usr/lib/gcc/aarch64-redhat-linux/6
|
||||
#flag -L/usr/lib/gcc/aarch64-redhat-linux/7
|
||||
#flag -L/usr/lib/gcc/aarch64-redhat-linux/8
|
||||
#flag -L/usr/lib/gcc/aarch64-redhat-linux/9
|
||||
#flag -L/usr/lib/gcc/aarch64-redhat-linux/10
|
||||
#flag -L/usr/lib/gcc/aarch64-redhat-linux/11
|
||||
#flag -L/usr/lib/gcc/aarch64-redhat-linux/12
|
||||
}
|
||||
#flag -latomic
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user