packages: openjpeg/openjpeg.spec - pass %{__cc} - don't link with -lstdc++, ...
sparky
sparky at pld-linux.org
Mon Nov 30 03:17:01 CET 2009
Author: sparky Date: Mon Nov 30 02:17:01 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- pass %{__cc}
- don't link with -lstdc++, not needed
---- Files affected:
packages/openjpeg:
openjpeg.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/openjpeg/openjpeg.spec
diff -u packages/openjpeg/openjpeg.spec:1.2 packages/openjpeg/openjpeg.spec:1.3
--- packages/openjpeg/openjpeg.spec:1.2 Mon Oct 12 23:09:14 2009
+++ packages/openjpeg/openjpeg.spec Mon Nov 30 03:16:56 2009
@@ -34,9 +34,11 @@
%setup -q -n %{_name}_v%{_ver}
%patch0 -p1
sed 's/$(CC) -s/$(CC) $(CFLAGS) $(LDFLAGS)/' -i Makefile
+sed 's/-lstdc++//' -i Makefile
%build
%{__make} \
+ CC="%{__cc}" \
CFLAGS="%{rpmcflags} -fPIC" \
LDFLAGS="%{rpmldflags}"
@@ -74,6 +76,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2009/11/30 02:16:56 sparky
+- pass %{__cc}
+- don't link with -lstdc++, not needed
+
Revision 1.2 2009/10/12 21:09:14 sparky
- use rpmcflags and rpmldflags when linking
- fixed install
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openjpeg/openjpeg.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list