Make sure that date is run under the C locale, so dates are given in the
[openssl.git] / crypto / Makefile.ssl
index 15bf58c52930b4237ea65e0b8d6818085ec66eb4..2ef333ef8b3bfddf24a46869305a3c7bce4ee42d 100644 (file)
@@ -57,7 +57,7 @@ buildinf.h: ../Makefile.ssl
        echo "  /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */"; \
        echo "  #define CFLAGS \"$(CC) $(CFLAG)\""; \
        echo "  #define PLATFORM \"$(PLATFORM)\""; \
-       echo "  #define DATE \"`date`\""; \
+       echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
        echo "#endif" ) >buildinf.h
 
 testapps: