Guest User

Untitled

a guest
Oct 20th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. --- configure.ac
  2. +++ configure.ac
  3. @@ -16,42 +16,6 @@
  4. AC_DEFINE_UNQUOTED(UDEVIL_VERSION, "$VERSION", [udevil version])
  5.  
  6.  
  7. -dnl linker optimizations
  8. -AC_MSG_CHECKING([whether $LD accepts --as-needed])
  9. -case `$LD --as-needed -v 2>&1 </dev/null` in
  10. -*GNU* | *'with BFD'*)
  11. - LDFLAGS="$LDFLAGS -Wl,--as-needed"
  12. - AC_MSG_RESULT([yes])
  13. - ;;
  14. -*)
  15. - AC_MSG_RESULT([no])
  16. - ;;
  17. -esac
  18. -AC_MSG_CHECKING([whether $LD accepts -O1])
  19. -case `$LD -O1 -v 2>&1 </dev/null` in
  20. -*GNU* | *'with BFD'*)
  21. - LDFLAGS="$LDFLAGS -Wl,-O1"
  22. - AC_MSG_RESULT([yes])
  23. - ;;
  24. -*)
  25. - AC_MSG_RESULT([no])
  26. - ;;
  27. -esac
  28. -AC_MSG_CHECKING([whether $LD accepts -Bsymbolic-functions])
  29. -case `$LD -Bsymbolic-functions -v 2>&1 </dev/null` in
  30. -*GNU* | *'with BFD'*)
  31. - LDFLAGS="$LDFLAGS -Wl,-Bsymbolic-functions"
  32. - AC_MSG_RESULT([yes])
  33. - ;;
  34. -*)
  35. - AC_MSG_RESULT([no])
  36. - ;;
  37. -esac
  38. -
  39. -dnl advanced compiler tweaking
  40. -CPPFLAGS="$CPPFLAGS -fstrict-aliasing -fmessage-length=0"
  41. -
  42. -
  43. # program paths
  44. AC_ARG_WITH(mount-prog,
  45. AC_HELP_STRING([--with-mount-prog=PATH], [Path to mount program (default: /bin/mount)]),
Add Comment
Please, Sign In to add comment