honor CC, CFLAGS, INSTALL_STRIP; ok jasper@

This commit is contained in:
naddy 2011-08-28 19:02:29 +00:00
parent b1c9af3da0
commit 06f26e3c93
2 changed files with 3 additions and 13 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.7 2011/08/24 12:05:55 jasper Exp $
# $OpenBSD: Makefile,v 1.8 2011/08/28 19:02:29 naddy Exp $
COMMENT= debugger for use with MSP 430 MCUs
DISTNAME= mspdebug-0.17
REVISION= 0
CATEGORIES= devel
HOMEPAGE= http://mspdebug.sourceforge.net/
@ -22,6 +23,7 @@ WANTLIB += c readline termcap usb
LIB_DEPENDS= devel/libusb
USE_GMAKE= Yes
MAKE_FLAGS= CC="${CC}" GCC_CFLAGS="" LDFLAGS=""
NO_REGRESS= Yes

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-Makefile,v 1.6 2011/08/24 12:05:55 jasper Exp $
--- Makefile.orig Wed Aug 24 13:57:52 2011
+++ Makefile Wed Aug 24 13:57:57 2011
@@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-CC = gcc
+CC ?= gcc
INSTALL = /usr/bin/install
PREFIX ?= /usr/local
LDFLAGS ?= -s