mirror of
				https://github.com/xcat2/xNBA.git
				synced 2025-11-04 05:12:33 +00:00 
			
		
		
		
	Allow -Werror to be temporarily disabled using "make NO_WERROR=1"
This commit is contained in:
		@@ -101,12 +101,16 @@ DOXYGEN		?= doxygen
 | 
			
		||||
#
 | 
			
		||||
CFLAGS		+= -I include -I arch/$(ARCH)/include -I . -DARCH=$(ARCH)
 | 
			
		||||
CFLAGS		+= -Os -ffreestanding
 | 
			
		||||
CFLAGS		+= -Wall -W -Werror
 | 
			
		||||
CFLAGS		+= -Wall -W
 | 
			
		||||
CFLAGS		+= -g
 | 
			
		||||
CFLAGS		+= $(EXTRA_CFLAGS)
 | 
			
		||||
ASFLAGS		+= $(EXTRA_ASFLAGS)
 | 
			
		||||
LDFLAGS		+= $(EXTRA_LDFLAGS)
 | 
			
		||||
 | 
			
		||||
ifneq ($(NO_WERROR),1)
 | 
			
		||||
CFLAGS		+= -Werror
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
# CFLAGS for specific object types
 | 
			
		||||
#
 | 
			
		||||
CFLAGS_c	+= 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user