1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

Fix __DATE__ and __TIME__ purification in gcc-wrapper

This commit is contained in:
Gergely Risko 2014-09-14 22:33:48 +02:00
parent 6fe1ac69f9
commit e766f0b0d0

View file

@ -87,8 +87,8 @@ extraBefore=()
# When enforcing purity, pretend gcc can't find the current date and
# time
if test "$NIX_ENFORCE_PURITY" = "1"; then
extraAfter+=('-D__DATE__=??? ?? ????'
'-D__TIME__=??:??:??'
extraAfter+=('-D__DATE__="??? ?? ????"'
'-D__TIME__="??:??:??"'
-Wno-builtin-macro-redefined)
fi