diff options
| author | David Lamparter <equinox@diac24.net> | 2019-02-18 12:59:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-18 12:59:41 +0100 |
| commit | d8a9134f90be02dba3f77b29816e17cb427945b6 (patch) | |
| tree | 3cadfce4df00d10c509e3e8e6f1bf76fc684192e | |
| parent | 786add424cb805222009004d71a40a75c0697add (diff) | |
| parent | fd6611bb4ba148ca316573f5d8357a8e9b65a37f (diff) | |
Merge pull request #3804 from qlyoung/build-remove-fPIE-add-fPIC
build: fix automake fart under MSAN
| -rw-r--r-- | bgpd/subdir.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bgpd/subdir.am b/bgpd/subdir.am index 40ea976634..aed2939d3e 100644 --- a/bgpd/subdir.am +++ b/bgpd/subdir.am @@ -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 |
