Skip to content

Commit

Permalink
[FIX] Fix Mac build error for reproducible builds (#1232)
Browse files Browse the repository at this point in the history
* Fix Mac build error for reproducible builds
* Shorten solution with vr8hub's suggestion

Closes #1230
  • Loading branch information
canihavesomecoffee authored Feb 16, 2020
1 parent 588c4a8 commit 1b17a04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/CHANGES.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- Fix: A few (minor) memory leaks around the code.
- Fix: General code clean up / reformatting
- Fix: Fix multiple definitions with new -fno-common default in GCC 10
- Fix: Mac now builds reproducibly again without errors on the date command (#1230)
- Doc: Updated ccextractor.cnf.sample.

0.88 (2019-05-21)
Expand Down
2 changes: 1 addition & 1 deletion mac/pre-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fi
if [ -z "$commit" ]; then
commit="Unknown"
fi
builddate=`date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d`
builddate=`date -j -u -r "${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d`
echo "Storing variables in file"
echo "Commit: $commit"
echo "Date: $builddate"
Expand Down

0 comments on commit 1b17a04

Please sign in to comment.