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
@ -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 New Issue
Block a user