diff --git a/build_tools/make_buildopts_h b/build_tools/make_buildopts_h
index 67c42c122dc33512f9bf33ae709c4d6956c886b2..e7c7e0fd28e2c1169396029d5b819039b70c83ea 100755
--- a/build_tools/make_buildopts_h
+++ b/build_tools/make_buildopts_h
@@ -29,6 +29,6 @@ case ${OSARCH} in	# actually we should check build_os
 	;;
 *)
 	BUILDSUM=`echo ${TMP} | md5sum`
-	echo "#define AST_BUILDOPT_SUM { `echo -n ${BUILDSUM} | cut -c1-8`, `echo -n ${BUILDSUM} | cut -c9-16`, `echo -n ${BUILDSUM} | cut -c17-24`, `echo -n ${BUILDSUM} | cut -c25-32` }"
+	echo "#define AST_BUILDOPT_SUM { 0x`echo -n ${BUILDSUM} | cut -c1-8`, 0x`echo -n ${BUILDSUM} | cut -c9-16`, 0x`echo -n ${BUILDSUM} | cut -c17-24`, 0x`echo -n ${BUILDSUM} | cut -c25-32` }"
 	;;
 esac