> > In my testing (x86_64/gcc), this had no impact on the resulting binary, > building with/without it gives the same stripped binary save for its > buildid. > > Signed-off-by: Christophe Fergeau <cfergeau@xxxxxxxxxx> Have you compiled proposed Snir plugin? I think we are going to use soon this. Not that is hard to add again. > --- > configure.ac | 19 ------------------- > src/Makefile.am | 2 -- > 2 files changed, 21 deletions(-) > > diff --git a/configure.ac b/configure.ac > index e5decb3..2ab14da 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -50,25 +50,6 @@ LIBVIRT_LINKER_NO_INDIRECT > AC_SUBST(WARN_CFLAGS) > AC_SUBST(WARN_CXXFLAGS) > > -dnl > ========================================================================= > -dnl -fvisibility stuff > - > -have_gcc4=no > -AC_MSG_CHECKING(for -fvisibility) > -AC_COMPILE_IFELSE([AC_LANG_SOURCE([ > -#if defined(__GNUC__) && (__GNUC__ >= 4) > -#else > -error Need GCC 4.0 for visibility > -#endif > -int main () { return 0; } > -])], have_gcc4=yes) > - > -if test "x$have_gcc4" = "xyes" && test ! "$os_win32" = "yes" ; then > - VISIBILITY_HIDDEN_CFLAGS="-fvisibility=hidden" > -fi > -AC_MSG_RESULT($have_gcc4) > -AC_SUBST(VISIBILITY_HIDDEN_CFLAGS) > - > AC_DEFINE_DIR([BINDIR], [bindir], [Where data are placed to.]) > > AC_OUTPUT([ > diff --git a/src/Makefile.am b/src/Makefile.am > index 3717b5c..857d763 100644 > --- a/src/Makefile.am > +++ b/src/Makefile.am > @@ -16,12 +16,10 @@ AM_CPPFLAGS = \ > $(NULL) > > AM_CFLAGS = \ > - $(VISIBILITY_HIDDEN_CFLAGS) \ > $(WARN_CFLAGS) \ > $(NULL) > > AM_CXXFLAGS = \ > - $(VISIBILITY_HIDDEN_CFLAGS) \ > $(WARN_CXXFLAGS) \ > $(NULL) > Frediano _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel