summaryrefslogtreecommitdiffstats
path: root/libev-4.15-Respect-the-CFLAGS-if-defined.patch
blob: 7ec368e03bce395f0ff8589822ebe2715e45de5d (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
33
34
35
From 288dcead638c2c5597c6ce150d16bd5de6e1ff85 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Date: Sun, 8 Sep 2013 09:40:30 +0400
Subject: [PATCH 3/3] Respect the CFLAGS if defined

https://bugzilla.redhat.com/show_bug.cgi?id=908096

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index aa83142..3a8164b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,13 +1,13 @@
 AC_INIT([libev], [4.15])
 
-orig_CFLAGS="$CFLAGS"
-
 AC_CONFIG_SRCDIR([ev_epoll.c])
 
 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.3.1