add support for win64gcc.

By Bertrand.
This commit is contained in:
Fons Rademakers 2013-12-17 10:32:16 +01:00 committed by sftnight
parent 020af968f0
commit bca6686c91

View File

@ -68,7 +68,7 @@ ifeq ($(ROOTBUILD),debug)
endif
CLINGCXXFLAGS += $(CLINGCXXNDEBUG)
ifeq ($(ARCH),win32gcc)
ifneq (,$(findstring $(ARCH),win32gcc win64gcc))
# Hide llvm / clang symbols:
CLINGLDFLAGSEXTRA += -Wl,--exclude-libs,ALL
endif
@ -82,7 +82,7 @@ CLINGLIBEXTRA = $(CLINGLDFLAGSEXTRA) -L$(shell $(LLVMCONFIG) --libdir) \
$(filter-out -lLLVMipa,$(shell $(LLVMCONFIG) --libs)))\
$(shell $(LLVMCONFIG) --ldflags)
ifeq ($(ARCH),win32gcc)
ifneq (,$(findstring $(ARCH),win32gcc win64gcc))
# for EnumProcessModules() in TCling.cxx
CLINGLIBEXTRA += -lpsapi
endif