diff --git a/.gitattributes b/.gitattributes
index fdd31021f72c844291443bc4a5de2164721cdcac..e6d31d6aa31fc70fa3d8f9ff4a824c9daf9e959f 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -7,6 +7,7 @@
 *.bat text eol=crlf
 
 # These are binary so should never be modified by git.
+*.a binary
 *.png binary
 *.jpg binary
 *.dxf binary