Blame quota-4.03-Respect-enviroment-CFLAGS.patch
|
|
67a767d |
From 27a7f0020b0965a83559de04673551cf92eb4cbc Mon Sep 17 00:00:00 2001
|
|
|
67a767d |
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
|
|
67a767d |
Date: Thu, 7 Jan 2016 08:54:35 +0100
|
|
|
67a767d |
Subject: [PATCH] Respect enviroment CFLAGS
|
|
|
67a767d |
MIME-Version: 1.0
|
|
|
67a767d |
Content-Type: text/plain; charset=UTF-8
|
|
|
67a767d |
Content-Transfer-Encoding: 8bit
|
|
|
67a767d |
|
|
|
67a767d |
Configure fails if LDFLAGS carries -pie and CFLAGS -fPIC. That's
|
|
|
67a767d |
because confifgure.ac resets CFLAGS.
|
|
|
67a767d |
|
|
|
67a767d |
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
|
|
67a767d |
---
|
|
|
67a767d |
configure.ac | 2 +-
|
|
|
67a767d |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
67a767d |
|
|
|
67a767d |
diff --git a/configure.ac b/configure.ac
|
|
|
67a767d |
index 960a618..bb33774 100644
|
|
|
67a767d |
--- a/configure.ac
|
|
|
67a767d |
+++ b/configure.ac
|
|
|
67a767d |
@@ -53,7 +53,7 @@ AS_IF([test "x${prefix}" = "xNONE"], [
|
|
|
67a767d |
# ================
|
|
|
67a767d |
# Check for cflags
|
|
|
67a767d |
# ================
|
|
|
67a767d |
-CFLAGS="-D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
|
|
67a767d |
+CFLAGS="${CFLAGS} -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
|
|
67a767d |
AC_ARG_ENABLE([werror],
|
|
|
67a767d |
[AS_HELP_STRING([--enable-werror], [Treat all warnings as errors, useful for development])],
|
|
|
67a767d |
[enable_werror="$enableval"],
|
|
|
67a767d |
--
|
|
|
67a767d |
2.5.0
|
|
|
67a767d |
|