File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,7 @@ target = "x86_64-unknown-linux-musl"
6
6
# long double. Such functions are not builtin in the rust compiler, so we need to get them from libgcc.
7
7
# No need for the `crt_static` flag as rustc appends it by default.
8
8
linker = "aarch64-linux-gnu-gcc"
9
- rustflags = [ "-C", "link-arg=-lgcc" ]
9
+ rustflags = [
10
+ "-C", "link-arg=-lgcc",
11
+ "-C", "link-arg=-lfdt",
12
+ ]
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ const IRQ_TYPE_LEVEL_HI: u32 = 4;
36
36
// This links to libfdt which handles the creation of the binary blob
37
37
// flattened device tree (fdt) that is passed to the kernel and indicates
38
38
// the hardware configuration of the machine.
39
- #[ link( name = "fdt" , kind = "static" ) ]
40
39
extern "C" {
41
40
fn fdt_create ( buf : * mut c_void , bufsize : c_int ) -> c_int ;
42
41
fn fdt_finish_reservemap ( fdt : * mut c_void ) -> c_int ;
You can’t perform that action at this time.
0 commit comments