diff --git a/Makefile.rules b/Makefile.rules index 6e95998a461..6f75d0475eb 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -374,6 +374,9 @@ endif # IF REQUIRES_EH=1 is specified then don't disable exceptions ifndef REQUIRES_EH CXX.Flags += -fno-exceptions +else + # If the library requires EH, it also requires RTTI. + REQUIRES_RTTI := 1 endif ifdef REQUIRES_FRAME_POINTER