Add -fpermissive to allow compilation of old C++ on modern GCC
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 2 Apr 2012 14:16:05 +0000 (15:16 +0100)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 2 Apr 2012 14:16:05 +0000 (15:16 +0100)
cde/programs/dtmail/dtmail/Imakefile

index 210abd55e76477d0921ed781da4910c1c1e76b02..af5d37158d1944b1fa2e0ee0203f45454db31b8f 100644 (file)
@@ -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