]> xenbits.xensource.com Git - osstest/rumprun.git/commitdiff
Remove direct (one and only) gcc reference in build-rr.sh
authoryarl <5469248+yarlB@users.noreply.github.com>
Sun, 8 Apr 2018 15:27:06 +0000 (17:27 +0200)
committeryarl <5469248+yarlB@users.noreply.github.com>
Sun, 8 Apr 2018 15:27:06 +0000 (17:27 +0200)
build-rr.sh

index 5ac70cc35333b6e338788814b7382b1548e54a1d..e3dde1b1186749c07cb1fbcf54203d016bd43a01 100755 (executable)
@@ -357,7 +357,7 @@ buildrump ()
        
        # Disable new errors on GCC 7 which break netbsd-src compilation
        #
-       [ `gcc -dumpversion | cut -f1 -d.` -ge 7 ] \
+       [ `${CC} -dumpversion | cut -f1 -d.` -ge 7 ] \
                && extracflags="$extracflags -F CPPFLAGS=-Wimplicit-fallthrough=0"