From a1a3f5cb8cae3dfd4c486a9b28fbde8a29761ccf Mon Sep 17 00:00:00 2001 From: Maxim Pimenov Date: Fri, 16 Dec 2011 11:31:39 -0500 Subject: various: use $GCFLAGS and $GCIMPORTS like Make does R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/5489065 Committer: Russ Cox --- misc/swig/callback/Makefile | 2 +- misc/swig/stdio/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'misc/swig') diff --git a/misc/swig/callback/Makefile b/misc/swig/callback/Makefile index fde0d107b..0ca33ef60 100644 --- a/misc/swig/callback/Makefile +++ b/misc/swig/callback/Makefile @@ -13,5 +13,5 @@ CLEANFILES+=run include ../../../src/Make.pkg %: install %.go - $(GC) $*.go + $(GC) $(GCFLAGS) $(GCIMPORTS) $*.go $(LD) $(SWIG_RPATH) -o $@ $*.$O diff --git a/misc/swig/stdio/Makefile b/misc/swig/stdio/Makefile index e7d330587..0f23345e4 100644 --- a/misc/swig/stdio/Makefile +++ b/misc/swig/stdio/Makefile @@ -13,5 +13,5 @@ CLEANFILES+=hello include ../../../src/Make.pkg %: install %.go - $(GC) $*.go + $(GC) $(GCFLAGS) $(GCIMPORTS) $*.go $(LD) $(SWIG_RPATH) -o $@ $*.$O -- cgit v1.2.1