From 2d59766eb330b9d15a9bcbcd7e1695809fc099c5 Mon Sep 17 00:00:00 2001 From: EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> Date: Fri, 3 May 2024 03:39:47 -0400 Subject: renamed i386 to x86 --- makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index ccd252c..c52dd4c 100644 --- a/makefile +++ b/makefile @@ -1,16 +1,16 @@ # The makefile OS_NAME := emuos -ARCH = i386 +ARCH ?= x86_64 export SYSROOT = $(PWD)/sysroot # Variables for easy access of tools like gcc and nasm -export CC = i686-elf-gcc -export CXX = i686-elf-g++ -export LD = i686-elf-ld +export CC = $(ARCH)-elf-gcc +export CXX = $(ARCH)-elf-g++ +export LD = $(ARCH)-elf-ld export NASM = nasm -QEMU = qemu-system-i386 -ASMFLAGS = -felf32 +QEMU = qemu-system-x86_64 +#ASMFLAGS = -felf32 #CXXFLAGS := -ffreestanding -O2 -Wall -Wextra -fno-exceptions -fno-rtti #LDFLAGS := -ffreestanding -O2 -nostdlib -- cgit v1.2.3-70-g09d2