summaryrefslogtreecommitdiffstats
path: root/main/libev/libev-4.11-Respect-the-CFLAGS-if-defined.patch
blob: 6c977357fbbca094919236bbaf75fb430cf73ccb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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