-fpermissive to allow gcc to compile old C++
authorPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 23:33:09 +0000 (23:33 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 23:33:09 +0000 (23:33 +0000)
cde/lib/tt/lib/db/Imakefile

index 8f82a8bce3c0872603b9cd6eae347d166d1a660c..2f17ce0f35c518bf5411e9f2a1957128fa0de5ad 100644 (file)
@@ -19,6 +19,10 @@ DEFINES =
 INCLUDES = -I../../lib
 ISAM_INCLUDES = -I../../mini_isam 
 
+#if defined(LinuxDistribution)
+CXXEXTRA_DEFINES = -fpermissive
+#endif
+
 /*** NOTE!
  *** Every time a .o is added below it needs to be added to
  *** the lib/tt/lib Imakefile in DB_OBJS and SHARED_DB_OBJS