Changes of Revision 157

vlc-beta.spec Changed
x
 
1
@@ -296,9 +296,9 @@
2
 #
3
 export VLC_COMPILE_BY='X'
4
 export VLC_COMPILE_HOST='X'
5
-export BUILDCC=gcc
6
-export CC=gcc
7
-export CXX=g++
8
+test -x "$(type -p gcc)"    && BUILDCC="$_"
9
+test -x "$(type -p gcc)"    && CC="$_"
10
+test -x "$(type -p g++)"    && CXX="$_"
11
 test -x "$(type -p gcc-11)" && BUILDCC="$_"
12
 test -x "$(type -p gcc-11)" && CC="$_"
13
 test -x "$(type -p g++-11)" && CXX="$_"
14