mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-24 17:44:23 +00:00
Use standard Fedora linker flags.
- Resolves #1543859 Signed-off-by: Rafael dos Santos <rdossant@redhat.com> Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
e88700c9c2
commit
e32bc066e3
1 changed files with 6 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
%global nodejs_patch 1
|
%global nodejs_patch 1
|
||||||
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
|
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
|
||||||
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
|
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
|
||||||
%global nodejs_release 1
|
%global nodejs_release 2
|
||||||
|
|
||||||
# == Bundled Dependency Versions ==
|
# == Bundled Dependency Versions ==
|
||||||
# v8 - from deps/v8/include/v8-version.h
|
# v8 - from deps/v8/include/v8-version.h
|
||||||
|
@ -297,6 +297,8 @@ export CXXFLAGS='%{optflags} -g \
|
||||||
export CFLAGS="$(echo ${CFLAGS} | tr '\n\\' ' ')"
|
export CFLAGS="$(echo ${CFLAGS} | tr '\n\\' ' ')"
|
||||||
export CXXFLAGS="$(echo ${CXXFLAGS} | tr '\n\\' ' ')"
|
export CXXFLAGS="$(echo ${CXXFLAGS} | tr '\n\\' ' ')"
|
||||||
|
|
||||||
|
export LDFLAGS="%{build_ldflags}"
|
||||||
|
|
||||||
# Work around Fedora 28 issue:
|
# Work around Fedora 28 issue:
|
||||||
# https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out
|
# https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out
|
||||||
# Tracking BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1550564
|
# Tracking BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1550564
|
||||||
|
@ -486,6 +488,9 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules %{buildroot}/%{_bindir}/node -
|
||||||
%{_pkgdocdir}/npm/doc
|
%{_pkgdocdir}/npm/doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 13 2018 Rafael dos Santos <rdossant@redhat.com> - 1:9.11.1-2
|
||||||
|
- Use standard Fedora linker flags (bug #1543859)
|
||||||
|
|
||||||
* Thu Apr 05 2018 Stephen Gallagher <sgallagh@redhat.com> - 1:9.11.1-1
|
* Thu Apr 05 2018 Stephen Gallagher <sgallagh@redhat.com> - 1:9.11.1-1
|
||||||
- Update to 9.11.1
|
- Update to 9.11.1
|
||||||
- https://nodejs.org/en/blog/release/v9.11.0/
|
- https://nodejs.org/en/blog/release/v9.11.0/
|
||||||
|
|
Loading…
Reference in a new issue