Makefile: i386, i686 -> x86

master
Gabriel Ivașcu 2019-09-18 17:54:53 +03:00
parent 0b4f9ecf33
commit acff6c83eb
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,7 @@
ARCH := $(shell uname -m)
ifeq ($(ARCH),$(filter $(ARCH),i386 i686))
override ARCH = x86
endif
CFLAGS = -ggdb3 -O2 -Wall -Iarch/${ARCH}