Skip to content

Commit

Permalink
support reproducible builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Julián Moreno Patiño authored and razvancrainea committed Feb 25, 2016
1 parent 04b2eba commit d04e3b7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion main.c
Expand Up @@ -137,7 +137,15 @@

static char* version=OPENSIPS_FULL_VERSION;
static char* flags=OPENSIPS_COMPILE_FLAGS;
char compiled[]= __TIME__ " " __DATE__ ;
#ifdef VERSION_NODATE
char compiled[] = "" ;
#else
#ifdef VERSION_DATE
const char compiled[] = VERSION_DATE ;
#else
const char compiled[] = __TIME__ " " __DATE__ ;
#endif
#endif

/**
* Print compile-time constants
Expand Down

0 comments on commit d04e3b7

Please sign in to comment.