Commit 92eb10e3 authored by Jeremy Soller's avatar Jeremy Soller

Set sysroot

parent 8d6a16bb
......@@ -6,6 +6,7 @@ then
LIBRARY_PATH="$ROOT/usr/lib" \
gcc -v \
-static -nostartfiles -nostdlib -nodefaultlibs \
--sysroot "$ROOT" \
-undef -imacros "$ROOT/define.h" \
"$@" \
"$ROOT/usr/lib/crt0.o" \
......@@ -18,6 +19,7 @@ then
LIBRARY_PATH="$ROOT/usr/lib" \
x86_64-elf-gcc -v \
-static -nostartfiles -nostdlib -nodefaultlibs \
--sysroot "$ROOT" \
-undef -imacros "$ROOT/define.h" \
"$@" \
"$ROOT/usr/lib/crt0.o" \
......
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