1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-26 22:52:34 +02:00

Remove defaults for CC and AR

AR defaults to "ar" anyway in GNU make and instead of gcc it is probably a
better idea to use just cc. The latter allows to build on freebsd 10 without
overriding CC or doing symlink tricks (because it uses clang as cc, provides
multiple gcc packages but only versioned binaries without any actual "gcc"
command name in the path).

Corresponding to flashrom svn r1865.

Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:
Stefan Tauner 2015-01-10 09:33:00 +00:00
parent b0eee9b8d6
commit 4c32af8999

View File

@ -29,7 +29,6 @@ PROGRAM = flashrom
# #
# Note for anyone editing this Makefile: gnumake will happily ignore any # Note for anyone editing this Makefile: gnumake will happily ignore any
# changes in this Makefile to variables set on the command line. # changes in this Makefile to variables set on the command line.
CC ?= gcc
STRIP ?= strip STRIP ?= strip
INSTALL = install INSTALL = install
DIFF = diff DIFF = diff
@ -37,7 +36,6 @@ PREFIX ?= /usr/local
MANDIR ?= $(PREFIX)/share/man MANDIR ?= $(PREFIX)/share/man
CFLAGS ?= -Os -Wall -Wshadow CFLAGS ?= -Os -Wall -Wshadow
EXPORTDIR ?= . EXPORTDIR ?= .
AR ?= ar
RANLIB ?= ranlib RANLIB ?= ranlib
LIBS_BASE ?= .. LIBS_BASE ?= ..