aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-09-19 11:38:37 -0700
committerJunio C Hamano <gitster@pobox.com>2014-09-19 11:38:37 -0700
commit70f003e1070f16594529d9fb0cc6c670c1e415e2 (patch)
tree8f1295c935a37d4b09938e32b93292ec77226c3e /Makefile
parentfbc122eafede5e5ee921b81dd42a41382eac035b (diff)
parent5f4e02e5173c64b5b760f35283c4b0094bb85881 (diff)
downloadgit-70f003e1070f16594529d9fb0cc6c670c1e415e2.tar.gz
git-70f003e1070f16594529d9fb0cc6c670c1e415e2.tar.xz
Merge branch 'tb/crlf-tests'
* tb/crlf-tests: MinGW: update tests to handle a native eol of crlf Makefile: propagate NATIVE_CRLF to C t0027: Tests for core.eol=native, eol=lf, eol=crlf
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e0f15a3df..d8284bd30 100644
--- a/Makefile
+++ b/Makefile
@@ -1348,6 +1348,9 @@ ifdef NO_REGEX
COMPAT_CFLAGS += -Icompat/regex
COMPAT_OBJS += compat/regex/regex.o
endif
+ifdef NATIVE_CRLF
+ BASIC_CFLAGS += -DNATIVE_CRLF
+endif
ifdef USE_NED_ALLOCATOR
COMPAT_CFLAGS += -Icompat/nedmalloc