mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-12-01 04:02:55 +00:00
Replace hard-coded gcc and g++ with __cc and __cxx macros
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
4fd4157b50
commit
78f7bb0b35
1 changed files with 2 additions and 2 deletions
|
@ -355,8 +355,8 @@ find . -type f -exec sed -i "s~python -c~python3 -c~" {} \;
|
||||||
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
export CC='gcc'
|
export CC='%{__cc}'
|
||||||
export CXX='g++'
|
export CXX='%{__cxx}'
|
||||||
|
|
||||||
# build with debugging symbols and add defines from libuv (#892601)
|
# build with debugging symbols and add defines from libuv (#892601)
|
||||||
# Node's v8 breaks with GCC 6 because of incorrect usage of methods on
|
# Node's v8 breaks with GCC 6 because of incorrect usage of methods on
|
||||||
|
|
Loading…
Reference in a new issue