Add -fpermissive to allow compilation of old C++ on modern GCC

This commit is contained in:
Peter Howkins
2012-04-02 15:16:05 +01:00
parent 7795c597af
commit 7416482cc3

View 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