X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=configure.ac;h=8caea402178d0aab41e6b0d93789a3bc0206c068;hb=014ea556251259cd3c6965b78b42ebb903291e77;hp=c80fcfcbac3f3beff168ad50636b605c9f9a443e;hpb=15bc915d7469233eeed997044f79bd619b62bd4e;p=platform%2Fupstream%2Fdbus.git diff --git a/configure.ac b/configure.ac index c80fcfc..8caea40 100644 --- a/configure.ac +++ b/configure.ac @@ -273,6 +273,11 @@ if test x$enable_asserts = xno; then AC_DEFINE(DBUS_DISABLE_ASSERT,1,[Disable assertion checking]) DISABLE_UNUSED_WARNINGS="unused-label" R_DYNAMIC_LDFLAG="" + if test x$enable_embedded_tests = xyes; then + DISABLE_UNUSED_WARNINGS="$DISABLE_UNUSED_WARNINGS \ + unused-but-set-variable unused-variable \ + unused-function" + fi else # -rdynamic is needed for glibc's backtrace_symbols to work. # No clue how much overhead this adds, but it's useful