Browse Source

nodejs some minor build changes

Signed-off-by: webbuilder_pel7ppc64lebuilder0 <webbuilder@powerel.org>
master
webbuilder_pel7ppc64lebuilder0 5 years ago
parent
commit
c7270ec886
  1. 14
      SPECS/nodejs.spec

14
SPECS/nodejs.spec

@ -278,8 +278,8 @@ The API documentation for the Node.js JavaScript runtime. @@ -278,8 +278,8 @@ The API documentation for the Node.js JavaScript runtime.
%setup -q -n node-v%{nodejs_version}

# remove bundled dependencies that we aren't building
%patch1 -p1
rm -rf deps/zlib
#%patch1 -p1
#rm -rf deps/zlib

%patch2 -p1

@ -318,27 +318,17 @@ export LDFLAGS="%{__global_ldflags}" @@ -318,27 +318,17 @@ export LDFLAGS="%{__global_ldflags}"
#%if ! 0%%{?bootstrap}
%if %{with bootstrap}
./configure --prefix=%{_prefix} \
%ifarch s390x
--shared-openssl \
%endif
--shared-zlib \
--without-dtrace \
--with-intl=small-icu \
--debug-nghttp2 \
--openssl-use-def-ca-store
%else
./configure --prefix=%{_prefix} \
%ifarch s390x
--shared-openssl \
%endif
--shared-zlib \
--shared-libuv \
--shared-http-parser \
--shared-nghttp2 \
--with-dtrace \
--with-intl=%{icu_flag} \
--debug-nghttp2 \
--openssl-use-def-ca-store
%endif

%if %{?with_debug} == 1

Loading…
Cancel
Save