From 366119b53d5148922c5df7c7bd088ed71e95499a Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 16 Jan 2020 21:07:03 +0100 Subject: Optimization reduction seems to improve things *a bit* - POINTERS STILL DON'T WORK! Merging anyway ig --- run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'run') diff --git a/run b/run index edb1a32..17a42f0 100755 --- a/run +++ b/run @@ -107,10 +107,10 @@ make_build() { stripped=$(echo "${line}" | sed -r 's/\//_/g') stripped=${stripped#??????} stripped=${stripped%%?}o - compile_with_flags -O3 -c ./"${line}" -I ./src/userspace -o ./build/userspace/"${stripped}" + compile_with_flags -O2 -c ./"${line}" -I ./src/userspace -o ./build/userspace/"${stripped}" done <./build/tmp rm ./build/tmp - compile_with_flags -O3 ./build/userspace/*.o -T ./src/userspace/linker.ld -I ./src/userspace -o ./build/user.bin + compile_with_flags -O2 ./build/userspace/*.o -T ./src/userspace/linker.ld -I ./src/userspace -o ./build/user.bin # Create ISO mkdir -p ./iso/boot/ -- cgit v1.2.3