Fix __DATE__ and __TIME__ purification in gcc-wrapper
This commit is contained in:
parent
6fe1ac69f9
commit
e766f0b0d0
@ -87,8 +87,8 @@ extraBefore=()
|
|||||||
# When enforcing purity, pretend gcc can't find the current date and
|
# When enforcing purity, pretend gcc can't find the current date and
|
||||||
# time
|
# time
|
||||||
if test "$NIX_ENFORCE_PURITY" = "1"; then
|
if test "$NIX_ENFORCE_PURITY" = "1"; then
|
||||||
extraAfter+=('-D__DATE__=??? ?? ????'
|
extraAfter+=('-D__DATE__="??? ?? ????"'
|
||||||
'-D__TIME__=??:??:??'
|
'-D__TIME__="??:??:??"'
|
||||||
-Wno-builtin-macro-redefined)
|
-Wno-builtin-macro-redefined)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user