Skip to content

Commit

Permalink
Fix swss-common binskim errors
Browse files Browse the repository at this point in the history
  • Loading branch information
liuh-80 committed Sep 7, 2023
1 parent dc14d36 commit 2d35402
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions common/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ common_swssloglevel_SOURCES = \
common/loglevel_util.cpp


common_swssloglevel_CXXFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(CODE_COVERAGE_CXXFLAGS)
common_swssloglevel_CPPFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(CODE_COVERAGE_CPPFLAGS)
common_swssloglevel_LDADD = common/libswsscommon.la $(CODE_COVERAGE_LIBS)
common_swssloglevel_CXXFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(CODE_COVERAGE_CXXFLAGS) -fstack-protector-strong
common_swssloglevel_CPPFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(CODE_COVERAGE_CPPFLAGS) -fstack-protector-strong
common_swssloglevel_LDADD = common/libswsscommon.la $(CODE_COVERAGE_LIBS) -z now
6 changes: 3 additions & 3 deletions sonic-db-cli/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ sonic_db_cli_libsonicdbcli_la_LIBADD = common/libswsscommon.la -lpthread

bin_PROGRAMS += sonic-db-cli/sonic-db-cli
sonic_db_cli_sonic_db_cli_SOURCES = sonic-db-cli/sonic-db-cli.cpp sonic-db-cli/main.cpp
sonic_db_cli_sonic_db_cli_CFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON)
sonic_db_cli_sonic_db_cli_CPPFLAGS = $(DBGFLAGS) $(AM_CPPFLAGS) $(CFLAGS_COMMON)
sonic_db_cli_sonic_db_cli_LDADD = common/libswsscommon.la -lpthread
sonic_db_cli_sonic_db_cli_CFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) -fstack-protector-strong
sonic_db_cli_sonic_db_cli_CPPFLAGS = $(DBGFLAGS) $(AM_CPPFLAGS) $(CFLAGS_COMMON) -fstack-protector-strong
sonic_db_cli_sonic_db_cli_LDADD = common/libswsscommon.la -lpthread -z now

0 comments on commit 2d35402

Please sign in to comment.