Code

Merge branch 'tt/profile-build-fix' into maint
[git.git] / Makefile
index 4deda38c5052969e6acc886ca60455fb8a464990..3815f66c41525df04005f3ad00e6175fc235cc64 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -339,7 +339,7 @@ pathsep = :
 
 export prefix bindir sharedir sysconfdir gitwebdir localedir
 
-CC = gcc
+CC = cc
 AR = ar
 RM = rm -f
 DIFF = diff
@@ -452,6 +452,9 @@ PROGRAM_OBJS += http-backend.o
 PROGRAM_OBJS += sh-i18n--envsubst.o
 PROGRAM_OBJS += credential-store.o
 
+# Binary suffix, set to .exe for Windows builds
+X =
+
 PROGRAMS += $(patsubst %.o,git-%$X,$(PROGRAM_OBJS))
 
 TEST_PROGRAMS_NEED_X += test-chmtime