]> mj.ucw.cz Git - pciutils.git/commitdiff
Makefile: don't hardcode gcc
authorVladimír Čunát <v@cunat.cz>
Thu, 24 Sep 2020 08:28:18 +0000 (10:28 +0200)
committerMartin Mareš <mj@ucw.cz>
Fri, 21 Jan 2022 12:13:21 +0000 (13:13 +0100)
I believe "cc" is a much better default nowadays.
Another approach would be to (also) use "?=" for these variables.

Makefile

index 256e8ea9caaea5e32abfde0871d0b4e4ccb03969..aeb020e6b944f2c0cc5921f0996a05fb5127088a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ PKGCFDIR=$(LIBDIR)/pkgconfig
 INSTALL=install
 DIRINSTALL=install -d
 STRIP=-s
-CC=$(CROSS_COMPILE)gcc
+CC=$(CROSS_COMPILE)cc
 AR=$(CROSS_COMPILE)ar
 RANLIB=$(CROSS_COMPILE)ranlib