1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[tcc] Skip -Wl,--no-copy-dt-needed-entries

This commit is contained in:
Witold Filipczyk 2023-12-01 12:54:07 +01:00
parent 1890a79b45
commit 5d7403d23a

View File

@ -28,7 +28,8 @@ main(int argc, char **argv)
if (!strcmp(argv[j], "-MQ") || !strcmp(argv[j], "-MF")) {
j += 2;
argc -= 2;
} else if (!strcmp(argv[j], "-Wl,--no-undefined") || !strcmp(argv[j], "-Wl,--start-group") || !strcmp(argv[j], "-Wl,--end-group")
} else if (!strcmp(argv[j], "-Wl,--no-undefined") || !strcmp(argv[j], "-Wl,--start-group")
|| !strcmp(argv[j], "-Wl,--end-group") || !strcmp(argv[j], "-Wl,--no-copy-dt-needed-entries")
|| !strncmp(argv[j], "-Wl,-rpath-link,", sizeof("-Wl,-rpath-link,") - 1)) {
++j;
--argc;