Respect the Fedora CFLAGS
https://bugzilla.redhat.com/show_bug.cgi?id=908096
This commit is contained in:
parent
25618256d2
commit
7db63e1769
32
libev-4.11-Respect-the-CFLAGS-if-defined.patch
Normal file
32
libev-4.11-Respect-the-CFLAGS-if-defined.patch
Normal file
@ -0,0 +1,32 @@
|
||||
From c7106c0dfb3c7692f7a928b18b2d1bd1b0e10d76 Mon Sep 17 00:00:00 2001
|
||||
From: Mathieu Bridon <bochecha@fedoraproject.org>
|
||||
Date: Fri, 8 Feb 2013 17:12:55 +0800
|
||||
Subject: [PATCH] Respect the CFLAGS if defined
|
||||
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=908096
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index a87761f..827aa4a 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1,5 +1,3 @@
|
||||
-orig_CFLAGS="$CFLAGS"
|
||||
-
|
||||
AC_INIT([libev], [4.11])
|
||||
AC_CONFIG_SRCDIR([ev_epoll.c])
|
||||
|
||||
@@ -7,6 +5,8 @@ AM_INIT_AUTOMAKE
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
+orig_CFLAGS="$CFLAGS"
|
||||
+
|
||||
AC_PROG_CC
|
||||
|
||||
dnl Supply default CFLAGS, if not specified
|
||||
--
|
||||
1.8.1
|
||||
|
@ -13,6 +13,7 @@ BuildRequires: autoconf automake libtool
|
||||
|
||||
Patch0: libev-4.11-Add-pkgconfig-support.patch
|
||||
Patch1: libev-4.11-Modernize-the-configure.ac.patch
|
||||
Patch2: libev-4.11-Respect-the-CFLAGS-if-defined.patch
|
||||
|
||||
%description
|
||||
Libev is modeled (very loosely) after libevent and the Event Perl
|
||||
@ -46,6 +47,7 @@ This package contains the source code for libev.
|
||||
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
autoreconf -i
|
||||
|
||||
@ -93,6 +95,8 @@ install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir}
|
||||
%changelog
|
||||
- Make a patch out of Michal's pkgconfig support.
|
||||
- Modernize the configure.ac file for Automake >= 1.13.
|
||||
- Respect the Fedora CFLAGS
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=908096
|
||||
|
||||
* Fri Sep 28 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 4.11-1
|
||||
- Update to 4.11
|
||||
|
Loading…
Reference in New Issue
Block a user