0001-disable-install-strip.patch 776 B

1234567891011121314151617181920212223
  1. Disable stripping on installation
  2. Using the -s option of install does not work, as it uses the host
  3. strip instead of the cross strip. So, get rid of it, and let Buildroot
  4. handle the stripping.
  5. [Vincent: tweak patch for version 1.2]
  6. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  7. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
  8. diff -Nrua a/configure b/configure
  9. --- a/configure 2015-10-02 21:29:04.000000000 +0100
  10. +++ b/configure 2015-10-06 13:28:37.245349592 +0100
  11. @@ -2780,7 +2780,7 @@
  12. # Checking for CFLAGS
  13. -_install_strip="-s"
  14. +_install_strip=
  15. if test -z "$CFLAGS" || test "$_profile" != "" || test "$_debug" != ""; then
  16. if test "$cc_vendor" = "intel" ; then
  17. CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer"