mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 13:54:15 -07:00
More build fixes.
This commit is contained in:
parent
8de5b2beda
commit
147f735333
5 changed files with 42 additions and 8 deletions
|
@ -64,7 +64,11 @@ rm -f %{name}-%{version}
|
|||
cp -a %{getenv:PWD}/* .
|
||||
|
||||
%build
|
||||
%if 0%{?rhel} <= 7
|
||||
make CFLAGS="`echo %{optflags} | sed s/stack-protector-strong/stack-protector/`" CXXFLAGS="`echo %{optflags} | sed s/stack-protector-strong/stack-protector/`" ZT_USE_MINIUPNPC=1 %{?_smp_mflags} one manpages selftest
|
||||
%else
|
||||
make CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" ZT_USE_MINIUPNPC=1 %{?_smp_mflags} one manpages selftest
|
||||
%endif
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue