[glew/f15] build in C99 mode
Adam Jackson
ajax at fedoraproject.org
Tue Jun 21 15:07:16 UTC 2011
commit 3ae9b6ae6ffc5a738226d1f8c0115250b24e61b4
Author: Adam Jackson <ajax at redhat.com>
Date: Tue Jun 21 11:07:05 2011 -0400
build in C99 mode
glew.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/glew.spec b/glew.spec
index 0322ba9..de1cc09 100644
--- a/glew.spec
+++ b/glew.spec
@@ -1,6 +1,6 @@
Name: glew
Version: 1.5.8
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: The OpenGL Extension Wrangler Library
Group: System Environment/Libraries
License: BSD and MIT
@@ -63,7 +63,7 @@ sed -i -e 's/\r//g' config/config.guess
%build
-make %{?_smp_mflags} CFLAGS.EXTRA="$RPM_OPT_FLAGS" includedir=%{_includedir} GLEW_DEST= libdir=%{_libdir} bindir=%{_bindir}
+make %{?_smp_mflags} CFLAGS.EXTRA="$RPM_OPT_FLAGS -std=c99" includedir=%{_includedir} GLEW_DEST= libdir=%{_libdir} bindir=%{_bindir}
%install
@@ -107,6 +107,9 @@ rm -rf $RPM_BUILD_ROOT
%doc doc/*
%changelog
+* Tue Jun 21 2011 Adam Jackson <ajax at redhat.com> 1.5.8-4
+- Build with -std=c99 (#714763)
+
* Wed Mar 23 2011 Adam Williamson <awilliam at redhat.com> - 1.5.8-3
- instead of taking flags out in makefile.patch and adding them back
in add-needed.patch, let's just not take them out...
More information about the scm-commits
mailing list