Commit 23d65765 authored by Christopher Vittal's avatar Christopher Vittal

Use -unknown- rather than -elf- in redox Makefiles

Brings newlib inline with what is present in redox-os/libc.
parent 7b6190c6
......@@ -31,7 +31,7 @@ rust_sources = \
$(srcdir)/target/x86_64-unknown-redox/release/libnewlib_redox.a: Xargo.toml Cargo.toml $(rust_sources)
cd $(srcdir); cargo update
cd $(srcdir); CC=x86_64-elf-redox-gcc CFLAGS="$(CFLAGS) -I $(srcdir)/../../include" xargo build --target x86_64-unknown-redox --release
cd $(srcdir); CC=x86_64-unknown-redox-gcc CFLAGS="$(CFLAGS) -I $(srcdir)/../../include" xargo build --target x86_64-unknown-redox --release
lib.a: $(srcdir)/target/x86_64-unknown-redox/release/libnewlib_redox.a
cp $(srcdir)/target/x86_64-unknown-redox/release/libnewlib_redox.a lib.a
......
......@@ -465,7 +465,7 @@ uninstall-am:
$(srcdir)/target/x86_64-unknown-redox/release/libnewlib_redox.a: Xargo.toml Cargo.toml $(rust_sources)
cd $(srcdir); cargo update
cd $(srcdir); CC=x86_64-elf-redox-gcc CFLAGS="$(CFLAGS) -I $(srcdir)/../../include" xargo build --target x86_64-unknown-redox --release
cd $(srcdir); CC=x86_64-unknown-redox-gcc CFLAGS="$(CFLAGS) -I $(srcdir)/../../include" xargo build --target x86_64-unknown-redox --release
lib.a: $(srcdir)/target/x86_64-unknown-redox/release/libnewlib_redox.a
cp $(srcdir)/target/x86_64-unknown-redox/release/libnewlib_redox.a lib.a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment