mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +00:00 
			
		
		
		
	-fpermissive to allow old C++ to compile on gcc
This commit is contained in:
		
							parent
							
								
									7ed2353605
								
							
						
					
					
						commit
						fd23228803
					
				
					 3 changed files with 12 additions and 0 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
|  | @ -14,6 +14,10 @@ DEPEND_DEFINES = $(CXXDEPENDINCLUDES) | |||
| 
 | ||||
| INCLUDES = -I. -I../../include -I../../include/utils -I$(CDELIBSRC) | ||||
| 
 | ||||
| #if defined(LinuxDistribution) | ||||
| CXXEXTRA_DEFINES = -fpermissive | ||||
| #endif | ||||
| 
 | ||||
| #if HasVFork | ||||
| VFORK_DEFINES = -DHAS_VFORK | ||||
| #else | ||||
|  |  | |||
|  | @ -14,6 +14,10 @@ DEPEND_DEFINES = $(CXXDEPENDINCLUDES) | |||
| 
 | ||||
| INCLUDES = -I. -I../Common -I../../include -I../../include/utils -I$(CDELIBSRC) | ||||
| 
 | ||||
| #if defined(LinuxDistribution) | ||||
| CXXEXTRA_DEFINES = -fpermissive | ||||
| #endif | ||||
| 
 | ||||
| #if HasVFork | ||||
| VFORK_DEFINES = -DHAS_VFORK | ||||
| #else | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue