d/rules: add note explaining why using noopt doesn't currenlty work
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
		
							parent
							
								
									0fde60fd10
								
							
						
					
					
						commit
						ade9f50160
					
				
							
								
								
									
										3
									
								
								debian/rules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								debian/rules
									
									
									
									
										vendored
									
									
								
							| @ -29,6 +29,9 @@ BUILDDIR=build | |||||||
| 
 | 
 | ||||||
| CFLAGS = -Wall | CFLAGS = -Wall | ||||||
| 
 | 
 | ||||||
|  | # FIXME: There is a second -02 added because of meson.build in the subproject | ||||||
|  | # and that is appended after -O0 from here (last -O wins), so supporting noopt | ||||||
|  | # doesn't work like this. | ||||||
| ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) | ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) | ||||||
| 	CFLAGS += -O0 | 	CFLAGS += -O0 | ||||||
| else | else | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Fiona Ebner
						Fiona Ebner