Makefile: Make gcc be more pendantic and bail out on warnings
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
This commit is contained in:
		
							parent
							
								
									dd3a99cfa8
								
							
						
					
					
						commit
						571786ae91
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										3
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -14,7 +14,8 @@ CONFIG_FILE := /etc/network/ifupdown-ng.conf
 | 
			
		|||
EXECUTOR_PATH := /usr/libexec/ifupdown-ng
 | 
			
		||||
 | 
			
		||||
CFLAGS ?= -ggdb3 -Os
 | 
			
		||||
CFLAGS += -Wall -Wextra
 | 
			
		||||
CFLAGS += -Wall -Wextra -Werror
 | 
			
		||||
CFLAGS += -Wmissing-declarations -Wmissing-prototypes -Wcast-align -Wpointer-arith -Wreturn-type
 | 
			
		||||
CFLAGS += ${LIBBSD_CFLAGS}
 | 
			
		||||
CPPFLAGS = -I.
 | 
			
		||||
CPPFLAGS += -DINTERFACES_FILE=\"${INTERFACES_FILE}\"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue