-fpermissive to allow old C++ to compile on gcc

This commit is contained in:
Peter Howkins
2012-03-12 12:04:55 +00:00
parent 7ed2353605
commit fd23228803
3 changed files with 12 additions and 0 deletions

View File

@@ -39,6 +39,10 @@ MT_LIBS = -i $(C++_LIB) -lm -lw -lc
SYS_LIBRARIES = -lintl -lnsl $(MT_LIBS) -lC
#endif /* SunArchitecture */
#if defined(LinuxDistribution)
CXXEXTRA_DEFINES = -fpermissive
#endif
SRCS = main.C message.C mailbox.C utils.C
OBJS = main.o message.o mailbox.o utils.o