28 lines
738 B
Diff
28 lines
738 B
Diff
|
From 33f5ae7d0549815a1327e75106ce0373a51b5934 Mon Sep 17 00:00:00 2001
|
||
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||
|
Date: Tue, 29 May 2012 20:44:18 +0100
|
||
|
Subject: [PATCH 2/5] configure: Allow user defined C compiler flags.
|
||
|
|
||
|
---
|
||
|
configure.ac | 4 ++++
|
||
|
1 file changed, 4 insertions(+)
|
||
|
|
||
|
diff --git a/configure.ac b/configure.ac
|
||
|
index 0bdb0e580..209a3cb32 100644
|
||
|
--- a/configure.ac
|
||
|
+++ b/configure.ac
|
||
|
@@ -549,6 +549,10 @@ AS_CASE([$host],
|
||
|
internal_cflags="$gcc_warnings"],
|
||
|
[common_cflags="-O"])])
|
||
|
|
||
|
+# Allow CFLAGS and LDFLAGS to be added.
|
||
|
+common_cflags="$common_cflags $CFLAGS"
|
||
|
+oc_ldflags="$oc_ldflags $LDFLAGS"
|
||
|
+
|
||
|
internal_cppflags="-DCAML_NAME_SPACE $internal_cppflags"
|
||
|
|
||
|
# Use 64-bit file offset if possible
|
||
|
--
|
||
|
2.20.1
|
||
|
|