libev/libev-4.18-Respect-the-CFLAGS-if-defined.patch

34 lines
714 B
Diff
Raw Normal View History

From 89ae305e74de5a1ba8af59fdcae2a8f2f6ca8a79 Mon Sep 17 00:00:00 2001
From: Mathieu Bridon <bochecha@fedoraproject.org>
Date: Mon, 8 Sep 2014 11:36:07 +0200
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 6c07ae3..dfd6db8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,13 +1,13 @@
AC_INIT([libev], [4.18])
-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
--
2.1.0