Skip to content

Commit abb0df6

Browse files
committed
[build][asan] make dpkg cache asan-aware
Currently, the build with ASAN_ENABLE=y reuses the packages built with ASAN_ENABLE=n (and vice versa). To address this issue, ASAN_ENABLE is added to the SONIC_COMMON_FLAGS_LIST. Signed-off-by: Yakiv Huryk <[email protected]>
1 parent 850e456 commit abb0df6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile.cache

+3-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ SONIC_COMMON_FLAGS_LIST := $(CONFIGURED_PLATFORM) \
7171
$(CONFIGURED_ARCH) \
7272
$(BLDENV) \
7373
$(SONIC_DEBUGGING_ON) \
74-
$(SONIC_PROFILING_ON) $(SONIC_ENABLE_SYNCD_RPC)
74+
$(SONIC_PROFILING_ON) \
75+
$(SONIC_ENABLE_SYNCD_RPC) \
76+
$(ENABLE_ASAN)
7577
SONIC_COMMON_DPKG_LIST := debian/control debian/changelog debian/rules \
7678
debian/compat debian/install debian/copyright
7779
SONIC_COMMON_BASE_FILES_LIST := sonic-slave-jessie/Dockerfile.j2 sonic-slave-jessie/Dockerfile.user.j2 \

0 commit comments

Comments
 (0)