force cling compilation to be 32-bit when configuration is for a 32-bit arch (ROOT-5865).

This commit is contained in:
Fons Rademakers 2014-01-22 21:44:31 +01:00 committed by sftnight
parent 702b719bbb
commit 1317314d8a

View File

@ -53,8 +53,8 @@ INCLUDEFILES += $(CLINGDEP)
# include dir for picking up RuntimeUniverse.h etc - need to
# 1) copy relevant headers to include/
# 2) rely on TCling to addIncludePath instead of using CLING_..._INCL below
CLINGCXXFLAGS = -I$(CLINGDIR)/include $(patsubst -O%,,$(shell $(LLVMCONFIG) --cxxflags) \
-fno-strict-aliasing)
CLINGCXXFLAGS += -I$(CLINGDIR)/include $(patsubst -O%,,$(shell $(LLVMCONFIG) \
--cxxflags) -fno-strict-aliasing)
ifeq ($(CTORSINITARRAY),yes)
CLINGLDFLAGSEXTRA := -Wl,--no-ctors-in-init-array