Add in -fpermissive for compiling old C++ on gcc
authorPeter Howkins <flibble@users.sourceforge.net>
Tue, 13 Mar 2012 17:43:43 +0000 (17:43 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Tue, 13 Mar 2012 17:43:43 +0000 (17:43 +0000)
cde/programs/dtsearchpath/libCliSrv/Imakefile

index 83cd42f1ecf6b2917546e3421ad45399f7d5def1..89d9e180b7144dd92fd3cf55bb72dadd50f60c9d 100644 (file)
@@ -22,6 +22,10 @@ EXTRA_DEFINES = -DIOSTREAMSWORKS
 EXTRA_DEFINES = -DIOSTREAMSWORKS
 #endif
 
+#if defined(LinuxDistribution)
+CXXEXTRA_DEFINES = -fpermissive
+#endif
+
 SRCS = DirIterator.C   Environ.C       TTFile.C \
        UnixEnv.C       cstring.C