From 06690fc6b60398284943267c7d2c016608a68804640a55468ab3d0a9f6b5630d Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 9 Nov 2010 17:27:44 +0000 Subject: [PATCH] Honor . OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=14 --- go.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/go.spec b/go.spec index fe25e66..ae9ea4a 100644 --- a/go.spec +++ b/go.spec @@ -84,10 +84,9 @@ export GOROOT="`pwd`" export GOBIN="$GOROOT/bin" mkdir -p "$GOBIN" cd src -LC_ALL=C PATH="$PATH:$GOBIN" ./make.bash +CFLAGS=$RPM_OPT_FLAGS LC_ALL=C PATH="$PATH:$GOBIN" ./make.bash %install -rm -rf $RPM_BUILD_ROOT export GOROOT="$RPM_BUILD_ROOT%{_libdir}/go" export GOBIN="$GOROOT/bin" install -Dm644 misc/bash/go $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/go