build: strip: unify win32 and use the configured $STRIP
commit5a0ca53a4a87252ad4fdb442ec3daaa6b00ec2e2
authorAvi Halachmi (:avih) <avihpit@yahoo.com>
Mon, 10 Oct 2016 12:17:58 +0000 (10 15:17 +0300)
committerAvi Halachmi (:avih) <avihpit@yahoo.com>
Mon, 10 Oct 2016 12:17:58 +0000 (10 15:17 +0300)
treefc28877305babbc79c7f6ef143d05f2d855d1609
parent35b7bf938216f9f5c1768acba987a5e6964877d8
build: strip: unify win32 and use the configured $STRIP

- There's no need to force STRIP_BINARIES on windows since --enable-strip (at
  configure) already does exactly that, if one wants to.
- Use the contigured $STRIP instead of the native 'strip', useful when
  cross building tcc.
- 'make install-strip' now also strips libtcc.dll on windows (it already does
  so now with --enable-strip, and previously it always stripped it).

Summary of current strip options for all platforms:
- configure --enable strip -> 'install -s' for the binaries.
- make install-strip: installs and then configured $STRIP the binaries.
- Otherwise -> no stripping.
Makefile