From 9bd6fc9b337d760e23ebc9cb9b954a6205bbaa1c Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Tue, 28 Oct 2014 11:50:09 +0100 Subject: Revive Melon --- Source/Kernel/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Source/Kernel/Makefile') diff --git a/Source/Kernel/Makefile b/Source/Kernel/Makefile index cb51309..74c87e4 100644 --- a/Source/Kernel/Makefile +++ b/Source/Kernel/Makefile @@ -1,11 +1,11 @@ .PHONY: clean, mrproper -CC = gcc -CXX = g++ -LD = ld -LDFLAGS = -T Kernel.ld -Map Kernel.map --oformat=elf32-i386 -CFLAGS = -nostdlib -nostartfiles -nodefaultlibs -fno-builtin -fno-stack-protector -Wall -Wextra -Werror -I . -CXXFLAGS = -nostartfiles -nostdlib -fno-exceptions -fno-rtti -I . -I ../Library/Common -I ../Library/Interface -Wall -Werror -Wno-write-strings -funsigned-char -D THIS_IS_MELON_KERNEL -D RANDOM_SEED=1`date +%N`LL -O2 +CC = i586-elf-gcc +CXX = i586-elf-g++ +LD = i586-elf-ld +LDFLAGS = -T Kernel.ld -Map Kernel.map --oformat=elf32-i386 -m elf_i386 +CFLAGS = -nostdlib -nostartfiles -nodefaultlibs -fno-builtin -fno-stack-protector -Wall -Wextra -Werror -I . -m32 +CXXFLAGS = -nostartfiles -nostdlib -fno-exceptions -fno-rtti -I . -I ../Library/Common -I ../Library/Interface -Wall -Werror -Wno-write-strings -funsigned-char -Wno-error=unused-but-set-variable -D THIS_IS_MELON_KERNEL -D RANDOM_SEED=1`date +%N`LL -O2 -m32 ASM = nasm ASMFLAGS = -f elf -- cgit v1.2.3