-fpermissive to allow gcc to compile old C++
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 00:27:41 +0000 (00:27 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 00:27:41 +0000 (00:27 +0000)
cde/lib/tt/bin/tt_type_comp/Imakefile

index 82ce6b83c7d988bea85bd3c713ff2b1b9e10986d..b43d8562c5f7c89274badf4861f86df81dd0a57b 100644 (file)
@@ -19,6 +19,10 @@ SYS_LIBRARIES   =
 EXTRA_LIBRARIES = TtClientExtraLibs
 #endif
 
+#if defined(LinuxDistribution)
+CXXEXTRA_DEFINES = -fpermissive
+#endif
+
 SRCS = mp_type_comp.C        mp_types_table.C \
        frozen.mp_types_lex.C frozen.mp_types_gram.C