mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-28 11:06:08 +00:00
Work around F28 build issue
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
12ac43da4f
commit
374ae23edf
1 changed files with 10 additions and 0 deletions
10
nodejs.spec
10
nodejs.spec
|
@ -249,6 +249,11 @@ rm -rf deps/icu-small \
|
|||
|
||||
|
||||
%build
|
||||
# Work around Fedora 28 build issue:
|
||||
# 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
|
||||
export PYTHON_DISALLOW_AMBIGUOUS_VERSION=0
|
||||
|
||||
# build with debugging symbols and add defines from libuv (#892601)
|
||||
# Node's v8 breaks with GCC 6 because of incorrect usage of methods on
|
||||
# NULL objects. We need to pass -fno-delete-null-pointer-checks
|
||||
|
@ -294,6 +299,11 @@ make BUILDTYPE=Release %{?_smp_mflags}
|
|||
|
||||
|
||||
%install
|
||||
# Work around Fedora 28 build issue:
|
||||
# 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
|
||||
export PYTHON_DISALLOW_AMBIGUOUS_VERSION=0
|
||||
|
||||
rm -rf %{buildroot}
|
||||
|
||||
./tools/install.py install %{buildroot} %{_prefix}
|
||||
|
|
Loading…
Reference in a new issue