File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN mkdir -p /usr/local/bin/wrapped-cc && \
2020 echo '#!/bin/sh' > /usr/local /bin /wrapped -cc /gcc && \
2121 echo 'exec /usr/bin/gcc -D__TIME__="\"0\"" -D__DATE__="\"0\"" -D__TIMESTAMP__="\"0\"" -Wno-builtin-macro-redefined "$@"' >> /usr/local /bin /wrapped -cc /gcc && \
2222 chmod +x /usr /local /bin /wrapped -cc /gcc && \
23- ln -s /usr /local /bin /wrapped -cc /gcc /usr /local /bin /wrapped -cc /cc && \
23+ ln -sf /usr /local /bin /wrapped -cc /gcc /usr /local /bin /wrapped -cc /cc && \
2424 echo '#!/bin/sh' > /usr/local /bin /wrapped -cc /g ++ && \
2525 echo 'exec /usr/bin/g++ -D__TIME__="\"0\"" -D__DATE__="\"0\"" -D__TIMESTAMP__="\"0\"" -Wno-builtin-macro-redefined "$@"' >> /usr/local /bin /wrapped -cc /g ++ && \
2626 chmod +x /usr /local /bin /wrapped -cc /g ++
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ RUN mkdir -p /usr/local/bin/wrapped-cc && \
2121 echo '#!/bin/sh' > /usr/local/bin/wrapped-cc/gcc && \
2222 echo 'exec /usr/bin/gcc -D__TIME__="\"0\"" -D__DATE__="\"0\"" -D__TIMESTAMP__="\"0\"" -Wno-builtin-macro-redefined "$@"' >> /usr/local/bin/wrapped-cc/gcc && \
2323 chmod +x /usr/local/bin/wrapped-cc/gcc && \
24- ln -s /usr/local/bin/wrapped-cc/gcc /usr/local/bin/wrapped-cc/cc && \
24+ ln -sf /usr/local/bin/wrapped-cc/gcc /usr/local/bin/wrapped-cc/cc && \
2525 echo '#!/bin/sh' > /usr/local/bin/wrapped-cc/g++ && \
2626 echo 'exec /usr/bin/g++ -D__TIME__="\"0\"" -D__DATE__="\"0\"" -D__TIMESTAMP__="\"0\"" -Wno-builtin-macro-redefined "$@"' >> /usr/local/bin/wrapped-cc/g++ && \
2727 chmod +x /usr/local/bin/wrapped-cc/g++
You can’t perform that action at this time.
0 commit comments