More build fixes.

This commit is contained in:
Adam Ierymenko 2016-06-27 14:21:54 -07:00
commit 147f735333
5 changed files with 42 additions and 8 deletions

View file

@ -17,7 +17,7 @@ RUN yum install -y gcc-c++
ADD zt1-src.tar.gz /
RUN mv /ZeroTierOne/make-linux.mk /ZeroTierOne/make-linux.mk.old
RUN echo 'CFLAGS=-O3 -fstack-protector' >/ZeroTierOne/make-linux.mk
RUN echo 'CXXFLAGS=-O3 -fstack-protector' >>/ZeroTierOne/make-linux.mk
RUN cat /ZeroTierOne/make-linux.mk.old >>/ZeroTierOne/make-linux.mk
#RUN mv /ZeroTierOne/make-linux.mk /ZeroTierOne/make-linux.mk.old
#RUN echo 'CFLAGS=-O3 -fstack-protector' >/ZeroTierOne/make-linux.mk
#RUN echo 'CXXFLAGS=-O3 -fstack-protector' >>/ZeroTierOne/make-linux.mk
#RUN cat /ZeroTierOne/make-linux.mk.old >>/ZeroTierOne/make-linux.mk