From: Peter Howkins Date: Mon, 2 Apr 2012 14:16:05 +0000 (+0100) Subject: Add -fpermissive to allow compilation of old C++ on modern GCC X-Git-Tag: 2.2.0a~26^2~55 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7416482cc3804939c636d0e82680429b10fc04bc;p=oweals%2Fcde.git Add -fpermissive to allow compilation of old C++ on modern GCC --- 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