diff --git a/configure.ac b/configure.ac index 44071996d5b7..04899b0249c0 100644 --- a/configure.ac +++ b/configure.ac @@ -36,10 +36,6 @@ AM_CONDITIONAL(DEBUG, test x$debug = xtrue) CFLAGS_COMMON="-std=c++14 -Wall -fPIC -Wno-write-strings -I/usr/include/libnl3 -I/usr/include/swss" -AM_CONDITIONAL(sonic_asic_platform_barefoot, test x$CONFIGURED_PLATFORM = xbarefoot) -AM_COND_IF([sonic_asic_platform_barefoot], - [CFLAGS_COMMON+=" -I/opt/bfn/install/include/switchsai"]) - CFLAGS_COMMON+=" -Werror" CFLAGS_COMMON+=" -Wno-reorder" CFLAGS_COMMON+=" -Wcast-align"