Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- configure.ac
- +++ configure.ac
- @@ -16,42 +16,6 @@
- AC_DEFINE_UNQUOTED(UDEVIL_VERSION, "$VERSION", [udevil version])
- -dnl linker optimizations
- -AC_MSG_CHECKING([whether $LD accepts --as-needed])
- -case `$LD --as-needed -v 2>&1 </dev/null` in
- -*GNU* | *'with BFD'*)
- - LDFLAGS="$LDFLAGS -Wl,--as-needed"
- - AC_MSG_RESULT([yes])
- - ;;
- -*)
- - AC_MSG_RESULT([no])
- - ;;
- -esac
- -AC_MSG_CHECKING([whether $LD accepts -O1])
- -case `$LD -O1 -v 2>&1 </dev/null` in
- -*GNU* | *'with BFD'*)
- - LDFLAGS="$LDFLAGS -Wl,-O1"
- - AC_MSG_RESULT([yes])
- - ;;
- -*)
- - AC_MSG_RESULT([no])
- - ;;
- -esac
- -AC_MSG_CHECKING([whether $LD accepts -Bsymbolic-functions])
- -case `$LD -Bsymbolic-functions -v 2>&1 </dev/null` in
- -*GNU* | *'with BFD'*)
- - LDFLAGS="$LDFLAGS -Wl,-Bsymbolic-functions"
- - AC_MSG_RESULT([yes])
- - ;;
- -*)
- - AC_MSG_RESULT([no])
- - ;;
- -esac
- -
- -dnl advanced compiler tweaking
- -CPPFLAGS="$CPPFLAGS -fstrict-aliasing -fmessage-length=0"
- -
- -
- # program paths
- AC_ARG_WITH(mount-prog,
- AC_HELP_STRING([--with-mount-prog=PATH], [Path to mount program (default: /bin/mount)]),
Add Comment
Please, Sign In to add comment