From 7416482cc3804939c636d0e82680429b10fc04bc Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 2 Apr 2012 15:16:05 +0100 Subject: [PATCH] Add -fpermissive to allow compilation of old C++ on modern GCC --- cde/programs/dtmail/dtmail/Imakefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cde/programs/dtmail/dtmail/Imakefile b/cde/programs/dtmail/dtmail/Imakefile index 210abd55..af5d3715 100644 --- a/cde/programs/dtmail/dtmail/Imakefile +++ b/cde/programs/dtmail/dtmail/Imakefile @@ -16,6 +16,10 @@ DEFINES = -DRELEASE_NOTES -DDTMAIL_TOOLTALK -DDTEDITOR DtMailDefines DEPLIBS = ../MotifApp/libMotifApp.a ../libDtMail/libDtMail.a DepDtClientLibs LOCAL_LIBRARIES = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a DtClientLibs +#if defined(LinuxDistribution) +CXXEXTRA_DEFINES = -fpermissive +#endif + /* Sun needs the widechar library */ #ifdef SunArchitecture SYS_LIBRARIES = $(DYNLIBSYSLIB) $(ICONVSYSLIB) $(REGEXSYSLIB) -lw -lm -- 2.25.1