aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-07-23 20:56:46 -0700
committerJunio C Hamano <gitster@pobox.com>2012-07-23 20:56:47 -0700
commitebcfa444c436c0a501d38ffd5bae670fe6ee01c5 (patch)
tree37d88b18fa545fb74c0e78f1858dda5c12e3e92b /Makefile
parentfee4426cdf5234ffb0b5572618ca2a6d4ae2595d (diff)
parentf200197c39d9181c02cac06c26433edaa9d31219 (diff)
downloadgit-ebcfa444c436c0a501d38ffd5bae670fe6ee01c5.tar.gz
git-ebcfa444c436c0a501d38ffd5bae670fe6ee01c5.tar.xz
Merge branch 'jn/block-sha1'
The code to load a word one-byte-at-a-time was optimized into a word-wide load instruction even when the pointer was not aligned, which caused issues on architectures that do not like unaligned access. * jn/block-sha1: Makefile: BLK_SHA1 does not require fast htonl() and unaligned loads block-sha1: put expanded macro parameters in parentheses block-sha1: avoid pointer conversion that violates alignment constraints
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 34ca6e551..b0b349336 100644
--- a/Makefile
+++ b/Makefile
@@ -127,9 +127,8 @@ all::
# specify your own (or DarwinPort's) include directories and
# library directories by defining CFLAGS and LDFLAGS appropriately.
#
-# Define BLK_SHA1 environment variable if you want the C version
-# of the SHA1 that assumes you can do unaligned 32-bit loads and
-# have a fast htonl() function.
+# Define BLK_SHA1 environment variable to make use of the bundled
+# optimized C SHA1 routine.
#
# Define PPC_SHA1 environment variable when running make to make use of
# a bundled SHA1 routine optimized for PowerPC.