Put user CFLAGS after the predefined flags
This allows the usage of the CFLAGS variable to override existing parameters (e.g. optimizations) without editing config.mk.
This commit is contained in:
		
							parent
							
								
									063e29fd1b
								
							
						
					
					
						commit
						678ea70c88
					
				| @ -14,8 +14,8 @@ PKG_CONFIG ?= pkg-config | ||||
| 
 | ||||
| # flags
 | ||||
| CPPFLAGS += -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\" | ||||
| CFLAGS   += -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os ${STATIC} ${CPPFLAGS} | ||||
| LDFLAGS  += -lm | ||||
| CFLAGS   := -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os ${STATIC} ${CPPFLAGS} ${CFLAGS} | ||||
| LDFLAGS  := -lm ${LDFLAGS} | ||||
| 
 | ||||
| CPPFLAGS_DEBUG := -DDEBUG_BUILD | ||||
| CFLAGS_DEBUG   := -O0 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nikos Tsipinakis
						Nikos Tsipinakis