mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-28 02:54:52 +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 /')
|
||||
%endif
|
||||
|
||||
export CC='gcc'
|
||||
export CXX='g++'
|
||||
export CC='%{__cc}'
|
||||
export CXX='%{__cxx}'
|
||||
|
||||
# build with debugging symbols and add defines from libuv (#892601)
|
||||
# Node's v8 breaks with GCC 6 because of incorrect usage of methods on
|
||||
|
|
Loading…
Reference in a new issue