mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-11-01 10:32:36 +00:00 
			
		
		
		
	bgpd: fix automake fart under MSAN
"When building without VNC, automake sees that the `bgpd_bgpd_CFLAGS` variable exists, although it is only set in the VNC-enabled case... but since the variable exists, it unconditionally drops `AM_CFLAGS` for the two bgp targets and uses `bgpd_bgpd_CFLAGS` instead, which will contain... _nothing_." This was breaking builds of bgpd binaries with MSAN enabled. Signed-off-by: David Lamparter <equinox@diac24.net> Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
		
							parent
							
								
									09720d3189
								
							
						
					
					
						commit
						fd6611bb4b
					
				| @ -191,12 +191,15 @@ noinst_HEADERS += \ | ||||
| bgpd_bgpd_SOURCES = bgpd/bgp_main.c | ||||
| bgpd_bgp_btoa_SOURCES = bgpd/bgp_btoa.c | ||||
| 
 | ||||
| bgpd_bgpd_CFLAGS = $(AM_CFLAGS) | ||||
| bgpd_bgp_btoa_CFLAGS = $(AM_CFLAGS) | ||||
| 
 | ||||
| if ENABLE_BGP_VNC | ||||
| bgpd_bgpd_SOURCES += bgpd/rfapi/rfapi_descriptor_rfp_utils.c | ||||
| bgpd_bgpd_CFLAGS = $(AM_CFLAGS) -Irfapi -I@top_srcdir@/$(RFPINC) | ||||
| bgpd_bgpd_CFLAGS += -Irfapi -I@top_srcdir@/$(RFPINC) | ||||
| 
 | ||||
| bgpd_bgp_btoa_SOURCES += bgpd/rfapi/rfapi_descriptor_rfp_utils.c | ||||
| bgpd_bgp_btoa_CFLAGS = $(AM_CFLAGS) -Irfapi -I@top_srcdir@/$(RFPINC) | ||||
| bgpd_bgp_btoa_CFLAGS += -Irfapi -I@top_srcdir@/$(RFPINC) | ||||
| endif | ||||
| 
 | ||||
| # RFPLDADD is set in bgpd/rfp-example/librfp/subdir.am | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Quentin Young
						Quentin Young