-fpermissive to allow gcc to compile old C++
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 15:19:36 +0000 (15:19 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 15:19:36 +0000 (15:19 +0000)
cde/programs/dtprintinfo/Imakefile

index ed42f6e511993e5fcbcd09767fbddf034d98fce5..c55d4965aab2e8a73d795a667f0ad0a5a52624ed 100644 (file)
@@ -23,6 +23,10 @@ all:: $(DTPRINTINFO_GEN)
 .NO_PARALLEL:
 #endif
 
+#if defined(LinuxDistribution)
+CXXEXTRA_DEFINES = -fpermissive
+#endif
+
 INCLUDES = -I. -I./UI -I./libUI -I./util -I./libUI/MotifUI \
        -I./objects -I./objects/PrintObj