freebsd-ports/sysutils/nvramtool/files/patch-Makefile
Emanuel Haupt 123529259d Respect CC and CFLAGS
Approved by:	Andrey Zonov <andrey@zonov.org> (maintainer)
2012-02-11 17:19:35 +00:00

16 lines
358 B
Text

--- ./Makefile.orig 2012-02-11 16:34:29.000000000 +0100
+++ ./Makefile 2012-02-11 16:34:55.000000000 +0100
@@ -20,11 +20,11 @@
PROGRAM = nvramtool
-CC = gcc
+CC ?= gcc
STRIP = strip
INSTALL = /usr/bin/install
PREFIX = /usr/local
-CFLAGS = -O2 -g -Wall -W -I.
+CFLAGS += -I.
#CFLAGS = -Os -Wall
CLI_OBJS = cli/nvramtool.o cli/opts.o