Make sure that date is run under the C locale, so dates are given in the
authorRichard Levitte <levitte@openssl.org>
Thu, 2 May 2002 08:05:46 +0000 (08:05 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 2 May 2002 08:05:46 +0000 (08:05 +0000)
default format.
PR: 16

crypto/Makefile.ssl

index 15bf58c..2ef333e 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 "  /* 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:
        echo "#endif" ) >buildinf.h
 
 testapps: