mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Use -std=gnu99 not c99 with GCC.
This commit is contained in:
		
				
					committed by
					
						
						Thomas Adam
					
				
			
			
				
	
			
			
			
						parent
						
							97b5df35b1
						
					
				
				
					commit
					b625ad6d8b
				
			@@ -24,7 +24,7 @@ endif
 | 
				
			|||||||
# Set flags for gcc. gcc4 whines abouts silly stuff so it needs slightly
 | 
					# Set flags for gcc. gcc4 whines abouts silly stuff so it needs slightly
 | 
				
			||||||
# different flags.
 | 
					# different flags.
 | 
				
			||||||
if IS_GCC
 | 
					if IS_GCC
 | 
				
			||||||
CFLAGS += -std=c99
 | 
					CFLAGS += -std=gnu99
 | 
				
			||||||
if IS_DEBUG
 | 
					if IS_DEBUG
 | 
				
			||||||
CFLAGS += -g -ggdb -O0
 | 
					CFLAGS += -g -ggdb -O0
 | 
				
			||||||
CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
 | 
					CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user