ref: 5d480a2944a16a22fcaad448cd0822b45858b222
parent: 9f2575ce5e5935955af02607666f71805d504796
author: Carlo Dapor <catull@gmail.com>
date: Sun Aug 13 16:15:45 EDT 2017
Both clang and gcc define both MACOSX and ARCH_X86_64, no need to explicitly define them in the Makfiles.
--- a/Makefile.macosx
+++ b/Makefile.macosx
@@ -10,7 +10,7 @@
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
--- a/llt/Makefile.macosx
+++ b/llt/Makefile.macosx
@@ -9,7 +9,7 @@
# 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 =