Both clang and gcc define both MACOSX and ARCH_X86_64, no need to explicitly define them in the Makfiles.

This commit is contained in:
Carlo Dapor 2017-08-13 20:15:45 +02:00
parent 9f2575ce5e
commit 5d480a2944
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ LIBTARGET = lib$(NAME)
LLTDIR = llt
LLT = $(LLTDIR)/libllt.a
CONFIG = -DMACOSX -DARCH_X86_64 -DBITS64 -D__CPU__=686 -I$(CARBON_HEADERS)
CONFIG = -DBITS64 -D__CPU__=686 -I$(CARBON_HEADERS)
FLAGS = -falign-functions -Wall -Wno-strict-aliasing -I$(LLTDIR) $(CFLAGS) -DUSE_COMPUTED_GOTO $(CONFIG)
LIBFILES = $(LLT)
LIBS = $(LIBFILES) -lm -framework ApplicationServices

View File

@ -9,7 +9,7 @@ TARGET = libllt.a
# OS flags: LINUX, WIN32, MACOSX
# architecture flags: __CPU__=xxx, BITS64, ARCH_X86, ARCH_X86_64
CONFIG = -DMACOSX -DARCH_X86_64 -DBITS64 -D__CPU__=686
CONFIG = -DBITS64 -D__CPU__=686
FLAGS = -Wall -Wno-strict-aliasing $(CFLAGS) $(CONFIG)
LIBS =