summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4ef40cd)
raw | patch | inline | side by side (parent: 4ef40cd)
author | Horst H. von Brand <vonbrand@inf.utfsm.cl> | |
Tue, 6 Feb 2007 19:08:55 +0000 (16:08 -0300) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 6 Feb 2007 22:09:03 +0000 (14:09 -0800) |
If not, the binaries get built once with the correct CFLAGS, and then again
with the ones in the Makefile when installing
Signed-off-by: Horst H. von Brand <vonbrand@inf.utfsm.cl>
Signed-off-by: Junio C Hamano <junkio@cox.net>
with the ones in the Makefile when installing
Signed-off-by: Horst H. von Brand <vonbrand@inf.utfsm.cl>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git.spec.in | patch | blob | history |
diff --git a/git.spec.in b/git.spec.in
index fb95e375948ed84abd9c433294692b12e2ff1b8d..1213325e5706e9ea0165b5df0a096e410ac4dbf0 100644 (file)
--- a/git.spec.in
+++ b/git.spec.in
%install
rm -rf $RPM_BUILD_ROOT
-make %{_smp_mflags} DESTDIR=$RPM_BUILD_ROOT WITH_OWN_SUBPROCESS_PY=YesPlease \
+make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT \
+ WITH_OWN_SUBPROCESS_PY=YesPlease \
prefix=%{_prefix} mandir=%{_mandir} INSTALLDIRS=vendor \
install %{!?_without_docs: install-doc}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'