X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4547faae1dbfbeffb584c1b16b8dd50d1edf26cd..b71531ad92f44d4ceba46418020061d24777e4f4:/utils/HelpGen/src/makefile.gcc diff --git a/utils/HelpGen/src/makefile.gcc b/utils/HelpGen/src/makefile.gcc index 23cf6061a8..3a8b42021a 100644 --- a/utils/HelpGen/src/makefile.gcc +++ b/utils/HelpGen/src/makefile.gcc @@ -15,7 +15,7 @@ include ../../../build/msw/config.gcc HELPGEN_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \ -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -Wall -I. \ - $(__DLLFLAG_p) $(CXXFLAGS) + $(__DLLFLAG_p) $(CXXFLAGS) $(__EXCEPTIONSFLAG_4) $(__EXCEPTIONSFLAG_5) HELPGEN_OBJECTS = \ $(OBJS)\HelpGen_HelpGen.o \ $(OBJS)\HelpGen_cjparser.o \ @@ -91,6 +91,18 @@ endif ifeq ($(SHARED),1) __DLLFLAG_p = -DWXUSINGDLL endif +ifeq ($(USE_EXCEPTIONS),0) +__EXCEPTIONSFLAG_4 = -fno-rtti +endif +ifeq ($(USE_EXCEPTIONS),1) +__EXCEPTIONSFLAG_4 = +endif +ifeq ($(USE_EXCEPTIONS),0) +__EXCEPTIONSFLAG_5 = -fno-exceptions +endif +ifeq ($(USE_EXCEPTIONS),1) +__EXCEPTIONSFLAG_5 = +endif ifeq ($(USE_GUI),1) __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG) endif