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:
parent
9f2575ce5e
commit
5d480a2944
|
@ -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
|
||||
|
|
|
@ -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 =
|
||||
|
||||
|
|
Loading…
Reference in New Issue