mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
gallium/auxiliary: Add -fno-rtti to CXXFLAGS on LLVM >= 3.2.
Also remove the recently added and overloaded LLVM_CXXFLAGS from CXXFLAGS. Note: This is a candidate for the stable branches. Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
parent
e866bd1ade
commit
21694b8eac
1 changed files with 5 additions and 1 deletions
|
|
@ -13,7 +13,11 @@ C_SOURCES += \
|
|||
$(GALLIVM_SOURCES)
|
||||
CPP_SOURCES += \
|
||||
$(GALLIVM_CPP_SOURCES)
|
||||
CXXFLAGS += $(LLVM_CXXFLAGS)
|
||||
|
||||
# LLVM >= 3.2 requires -fno-rtti
|
||||
ifeq ($(shell expr `echo $(LLVM_VERSION) | sed -e 's/\([0-9]\)\.\([0-9]\)/\10\2/g'` \>= 302),1)
|
||||
CXXFLAGS += -fno-rtti
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue