From: Jakub Bogusz Date: Sun, 1 Feb 2004 00:01:13 +0000 (+0000) Subject: - libcd.a needs PIC; release 2 X-Git-Tag: AC-STABLE X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcd.git;a=commitdiff_plain;h=782b58b7d3865659ba4cf66598ac13d362d1a1f5 - libcd.a needs PIC; release 2 Changed files: cd.spec -> 1.2 --- diff --git a/cd.spec b/cd.spec index 620667b..397de79 100644 --- a/cd.spec +++ b/cd.spec @@ -5,7 +5,7 @@ Summary: CGM Draw library and tools Summary(pl): Biblioteka i narzêdzia CGM Draw Name: cd Version: 1.3 -Release: 1 +Release: 2 License: free (see cd.html) Group: Libraries Source0: http://www.pa.msu.edu/ftp/pub/unix/%{name}%{version}.tar.gz @@ -66,6 +66,11 @@ Ten pakiet zawiera plik nag %setup -q -n %{name}%{version} %build +# libcd is used in plplot shared module - needs PIC +%{__make} libcd.a \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags} -fPIC -Wall -pedantic" + %{__make} \ CC="%{__cc}" \ CFLAGS="%{rpmcflags} -Wall -pedantic"