mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-09-22 14:42:54 +02:00
Build fix.
This commit is contained in:
parent
6921628610
commit
a28a6d1bf5
2 changed files with 5 additions and 5 deletions
|
@ -341,10 +341,10 @@ ifeq ($(ZT_STATIC),1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# For building an official semi-static binary on CentOS 7
|
# For building an official semi-static binary on CentOS 7
|
||||||
ifeq ($(ZT_OFFICIAL),1)
|
#ifeq ($(ZT_OFFICIAL),1)
|
||||||
CORE_OBJS+=ext/misc/linux-old-glibc-compat.o
|
# CORE_OBJS+=ext/misc/linux-old-glibc-compat.o
|
||||||
override LDFLAGS+=-Wl,--wrap=memcpy -static-libstdc++
|
# override LDFLAGS+=-Wl,--wrap=memcpy -static-libstdc++
|
||||||
endif
|
#endif
|
||||||
|
|
||||||
ifeq ($(ZT_CONTROLLER),1)
|
ifeq ($(ZT_CONTROLLER),1)
|
||||||
override CXXFLAGS+=-Wall -Wno-deprecated -std=c++17 -pthread $(INCLUDES) -DNDEBUG $(DEFS)
|
override CXXFLAGS+=-Wall -Wno-deprecated -std=c++17 -pthread $(INCLUDES) -DNDEBUG $(DEFS)
|
||||||
|
|
|
@ -102,7 +102,7 @@ ln -s %{getenv:PWD} %{name}-%{version}
|
||||||
mkdir -p SOURCES
|
mkdir -p SOURCES
|
||||||
tar --exclude=%{name}-%{version}/.git --exclude=%{name}-%{version}/%{name}-%{version} -czf SOURCES/%{name}-%{version}.tar.gz %{name}-%{version}/*
|
tar --exclude=%{name}-%{version}/.git --exclude=%{name}-%{version}/%{name}-%{version} -czf SOURCES/%{name}-%{version}.tar.gz %{name}-%{version}/*
|
||||||
rm -f %{name}-%{version}
|
rm -f %{name}-%{version}
|
||||||
# cp -a %{getenv:PWD}/* .
|
cp -a %{getenv:PWD}/* .
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
Loading…
Add table
Reference in a new issue