Commit Graph

12 Commits

Author SHA1 Message Date
2f2f6e7d5b remove ld flag, since its new included in devtools 2024-02-13 18:29:45 +01:00
2bf9bd0621 Fix firefox failing build (#217)
Hi,

After some experimentation and digging in the firefox repository I realized that the commas in _link-arg_ are the cause of the error.

Also, correct me if I'm wrong here, but you do not have to pass -Wl to the linker, cargo handles that. Plus, according to the [documentation](https://doc.rust-lang.org/rustc/codegen-options/index.html#link-arg), it is possible to pass _link-arg_ multiple times to achieve the same result.

I managed to build firefox locally with this change, so I guess this should work here as well.

Reviewed-on: #217
Co-authored-by: strptrk <git@patrikstier.com>
Co-committed-by: strptrk <git@patrikstier.com>
2023-11-01 11:34:05 +01:00
cbb2ea927d Add -z pack-relative-relocs to RUSTFLAGS (#196)
rustc/cargo ignores LDFLAGS and requires the linker flags to be passed
via `-Clink-arg=` in RUSTFLAGS.

Co-authored-by: Daniel Bertalan <dani@danielbertalan.dev>
Reviewed-on: #196
Co-authored-by: Daniel Bertalan <bertaland@noreply.somegit.dev>
Co-committed-by: Daniel Bertalan <bertaland@noreply.somegit.dev>
2023-06-05 17:19:48 +02:00
6da9739491 added -z pack-relative-relocs, closes #134 2023-06-03 15:32:29 +02:00
ddbf99756a added fortran compiler flags #148 2023-06-03 13:47:15 +02:00
57acc40a56 switched to KCFLAGS/KCPPFLAGS to build kernels instead of patching 2023-05-16 02:53:04 +02:00
Fijxu
04f4efcfae Fix broken links from the old domain (#172)
Useless but now the links don't need to be manually modified.

Co-authored-by: Fijxu <fijxu@zzls.xyz>
Reviewed-on: #172
Co-authored-by: Fijxu <fijxu@somegit.dev>
Co-committed-by: Fijxu <fijxu@somegit.dev>
2023-03-20 10:37:01 +01:00
ece8c4c7d9 faster SRCINFO parsing + memory-based building
Switched to parsing srcinfo with channels on all available cpus, speeding
up srcinfo-parsing and queue generation by a lot.

New memory-limit based building will max out the available memory while
not building the same packages at the same time for different marchs,
fixing some long-standing bugs like firefox not building at the same time
because the same ports are used for profile-based optimization. This
also drops the artificial delay on build-start, speeding up things even
more. This also means there is no hard-coded limit on how many packages
can be build at once anymore. As long as there is RAM available, builds will be
started.
2023-03-14 00:46:16 +01:00
c2dec11aaf some code cleanup, fixed rustflags not being detected 2023-01-20 13:18:34 +01:00
2f1857a97c added missing -C 2022-06-19 00:47:34 +02:00
3ea2777b0f fixed lto getting added twice 2022-06-19 00:37:01 +02:00
622ba6ad1a moved compiler flags out of code into flags.yaml 2022-06-18 23:57:53 +02:00