]> git.pld-linux.org Git - packages/dctc.git/commitdiff
- Compile using make nomakedepend
authorfastviper <fastviper@poczta.onet.pl>
Sun, 2 Dec 2001 14:37:56 +0000 (14:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Add patch to force PLD-style CFLAGS and CC
- Now compiles for i686 when -march=i686 used in CFLAGS

Changed files:
    dctc.spec -> 1.8

dctc.spec

index 14e10c3e65aea9b0620fd15a0eb091603f0523a4..5067c4c2f61e8daa83a8607fc67ca835aa644c73 100644 (file)
--- a/dctc.spec
+++ b/dctc.spec
@@ -8,6 +8,7 @@ Group:          Applications/Communications
 Group(de):     Applikationen/Kommunikation
 Group(pl):     Aplikacje/Komunikacja
 Source0:       http://ac2i.tzo.com/dctc/%{name}_v%{version}.tar.gz
+Patch0:                %{name}-CFLAGS.patch
 URL:           http://ac2i.tzo.com/dctc/
 BuildRequires: XFree86-devel
 BuildRequires: glib-devel
@@ -26,9 +27,12 @@ protoko
 
 %prep
 %setup -q -c
+%patch0 -p0
 
 %build
-%{__make}
+pldcflags="%{rpmcflags}" ; export pldcflags
+gcc=%{__cc} ; export gcc
+%{__make} nomakedepend
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.11095 seconds and 4 git commands to generate.