1
0
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:
Delyan Angelov 2022-03-05 19:13:47 +02:00 committed by GitHub
parent 6380b9eb15
commit b0f651bf81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/10
#flag -L/usr/lib/gcc/x86_64-linux-gnu/11 #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-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 { } $else $if arm64 {
#flag -L/usr/lib/gcc/aarch64-linux-gnu/6 #flag -L/usr/lib/gcc/aarch64-linux-gnu/6
#flag -L/usr/lib/gcc/aarch64-linux-gnu/7 #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/10
#flag -L/usr/lib/gcc/aarch64-linux-gnu/11 #flag -L/usr/lib/gcc/aarch64-linux-gnu/11
#flag -L/usr/lib/gcc/aarch64-linux-gnu/12 #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 #flag -latomic
} }