]> git.pld-linux.org Git - packages/djplayer.git/commitdiff
- pass CC & CFLAGS
authortwittner <twittner@pld-linux.org>
Mon, 16 Aug 2004 15:09:43 +0000 (15:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added -Makefile_add_CFLAGS.patch (one missing entry of CFLAGS)

Changed files:
    djplayer.spec -> 1.2

djplayer.spec

index 90d0abd6464fb0dccd63dff1c4fe058331dc9a8d..01c5fa77c0f990a50f5d63174c0c90fe53d42417 100644 (file)
@@ -12,6 +12,7 @@ Group:                Applications/Sound
 Source0:       http://tpnet.linux.tucows.com/files/console/media/%{tname}%{tver}.tgz
 # Source0-md5: d68b90cc3e20303efdfb6afdc2af8944
 Patch0:                %{name}-fixncurses.patch
+Patch1:                %{name}-Makefile_add_CFLAGS.patch
 URL:           http://linux.tucows.com/preview/56677.html
 BuildRequires: ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -27,9 +28,11 @@ system
 %prep
 %setup -q -n %{name}
 %patch0 -p1
+%patch1 -p1
+
 %build
 
-%{__make}
+%{__make} CC="%{__cc}" CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.055973 seconds and 4 git commands to generate.