musl-tune.diff 591 B

123456789101112131415
  1. --- musl-1.1.19/configure~ 2018-02-22 15:39:19.000000000 -0300
  2. +++ musl-1.1.19/configure 2018-03-23 21:11:10.918075969 -0300
  3. @@ -491,7 +491,10 @@
  4. # check both CC and CFLAGS.
  5. #
  6. if test "$ARCH" = "i386" ; then
  7. -fnmatch '-march=*|*\ -march=*' "$CC $CFLAGS" || tryldflag CFLAGS_AUTO -march=i486
  8. +fnmatch '-march=*|*\ -march=*' "$CC $CFLAGS" || tryldflag CFLAGS_AUTO -march=i586
  9. +fnmatch '-mtune=*|*\ -mtune=*' "$CC $CFLAGS" || tryldflag CFLAGS_AUTO -mtune=i686
  10. +fi
  11. +if test "$ARCH" = "x86_64" ; then
  12. fnmatch '-mtune=*|*\ -mtune=*' "$CC $CFLAGS" || tryldflag CFLAGS_AUTO -mtune=generic
  13. fi