summaryrefslogtreecommitdiff
path: root/build_tools/make_buildopts_h
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/make_buildopts_h')
-rwxr-xr-xbuild_tools/make_buildopts_h3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_tools/make_buildopts_h b/build_tools/make_buildopts_h
index b98d875a0..ace404555 100755
--- a/build_tools/make_buildopts_h
+++ b/build_tools/make_buildopts_h
@@ -26,6 +26,9 @@ case ${OSARCH} in # actually we should check build_os
*BSD|mingw|darwin*)
BUILDSUM=`echo ${TMP} | md5 | cut -c1-32`
;;
+SunOS)
+ BUILDSUM=`echo ${TMP} | digest -a md5 | cut -c1-32`
+ ;;
*)
BUILDSUM=`echo ${TMP} | md5sum | cut -c1-32`
;;