]> git.pld-linux.org Git - packages/allegro-gl.git/commitdiff
- cleanups, use optflags
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 5 Jul 2004 21:56:48 +0000 (21:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    allegro-gl.spec -> 1.2

allegro-gl.spec

index 0a193db25555266e0b25690b20e0d5ade4803a63..ad0569e7eb549441d37349fcfbd205a0b88171bf 100644 (file)
@@ -6,14 +6,17 @@ Release:      1
 License:       Giftware
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/allegrogl/alleggl-%{version}.tar.gz
+# Source0-md5: 3bc932770daacf54f7715ced65bc0627
 URL:           http://allegrogl.sourceforge.net/
-BuildRequires: allegro-devel
 BuildRequires: XFree86-devel
+BuildRequires: allegro-devel
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake
 Requires:      allegro
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                specflags       -fomit-frame-pointer
+
 %description
 AllegroGL is a cross-platform GL backend for the Allegro library.
 
@@ -47,8 +50,6 @@ aplikacji wykorzystuj
 %build
 %{__aclocal}
 %{__autoconf}
-TARGET_ARCH="%{rpmcflags}" export TARGET_ARCH
-# dbglib & proflib are compiled besides normlib, so it's ok to have them here
 %configure \
        --enable-static \
 %ifnarch %{ix86}
@@ -57,11 +58,11 @@ TARGET_ARCH="%{rpmcflags}" export TARGET_ARCH
        --disable-sse
 %endif
 
-%{__make} lib
+%{__make} lib \
+       CFLAGS="%{rpmcflags} -Wall -ffast-math"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}{,/allegrogl{,/GLext}}}
 
 install include/*.h $RPM_BUILD_ROOT%{_includedir}
This page took 0.067586 seconds and 4 git commands to generate.