Make build reproducible
Reiner Herrmann
2 years ago
0 | Author: Reiner Herrmann <reiner@reiner-h.de> | |
1 | Description: Generate date with C locale and UTC | |
2 | Forwarded: no | |
3 | ||
4 | --- a/Makefile | |
5 | +++ b/Makefile | |
6 | @@ -34,7 +34,7 @@ | |
7 | SDL_CFLAGS := $(shell $(PKG_CONFIG) sdl --cflags) | |
8 | SDL_LDFLAGS := $(shell $(PKG_CONFIG) sdl --libs) | |
9 | VERSION := $(shell awk '/^#define VERSION/ { print $$3 }' icebreaker.h) | |
10 | -VERDATE := $(shell date -r icebreaker.h +"%d %B %Y") | |
11 | +VERDATE := $(shell LC_ALL=C date -u -r icebreaker.h +"%d %B %Y") | |
12 | ||
13 | WINARCH=i686 | |
14 | CROSSTOOLSPATH=/usr/$(WINARCH)-w64-mingw32 |