diff --git a/pkgs/build-support/gcc-wrapper/gcc-wrapper.sh b/pkgs/build-support/gcc-wrapper/gcc-wrapper.sh index d6e91ebc666..08c61098809 100644 --- a/pkgs/build-support/gcc-wrapper/gcc-wrapper.sh +++ b/pkgs/build-support/gcc-wrapper/gcc-wrapper.sh @@ -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