[Spice-devel] [PATCH win-agent] build-sys: statically build agent

2012-06-08 Thread Marc-André Lureau
Fix build by default when using mingw (when more compiler are supported we could do case by case) Since we are statically building, strip resulting binary (we also use lto, whole-program but that doesn't seem to change much..) --- Makefile.am |9 ++--- configure.ac |1 + 2 files chan

Re: [Spice-devel] [PATCH win-agent] build-sys: statically build agent

2012-06-11 Thread Christophe Fergeau
On Fri, Jun 08, 2012 at 01:14:02PM +0200, Marc-André Lureau wrote: > Fix build by default when using mingw (when more compiler are > supported we could do case by case) > > Since we are statically building, strip resulting binary (we > also use lto, whole-program but that doesn't seem to change >

Re: [Spice-devel] [PATCH win-agent] build-sys: statically build agent

2012-06-11 Thread Marc-André Lureau
Hi - Mensaje original - > On Fri, Jun 08, 2012 at 01:14:02PM +0200, Marc-André Lureau wrote: > > Fix build by default when using mingw (when more compiler are > > supported we could do case by case) > > > > Since we are statically building, strip resulting binary (we > > also use lto, who

Re: [Spice-devel] [PATCH win-agent] build-sys: statically build agent

2012-06-11 Thread Christophe Fergeau
On Mon, Jun 11, 2012 at 06:20:35AM -0400, Marc-André Lureau wrote: > Hi > > - Mensaje original - > > On Fri, Jun 08, 2012 at 01:14:02PM +0200, Marc-André Lureau wrote: > > > Fix build by default when using mingw (when more compiler are > > > supported we could do case by case) > > > > > >

Re: [Spice-devel] [PATCH win-agent] build-sys: statically build agent

2012-06-11 Thread Marc-André Lureau
hi - Mensaje original - > > > Why the -DOLDMSVCRT? > > > > See 60e850c6e48c5223d00591e1d85ad1a31dcd44c5 > > So this was forgotten in this commit? or has it become necessary > because we > want static linking with mingw libraries? It's just to help user to compile with mingw (our main ta