automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] ccnoco.test: ignore all user settings, not just common ones


From: Mike Frysinger
Subject: [patch] ccnoco.test: ignore all user settings, not just common ones
Date: Mon, 31 Dec 2007 13:25:51 -0500
User-agent: KMail/1.9.7

if you have custom CPPFLAGS or LDFLAGS set, the ccnoco test can fail.  in the 
spirit of the existing code which resets CFLAGS, this patch does the same for 
CPPFLAGS and LDFLAGS.

Signed-Off-By: Mike Frysinger <address@hidden>
---
diff --git a/tests/ccnoco.test b/tests/ccnoco.test
index 8b37fe8..ab624fd 100755
--- a/tests/ccnoco.test
+++ b/tests/ccnoco.test
@@ -71,9 +71,13 @@ chmod +x Mycomp
 set -e
 
 
-# Ignore user CFLAGS.
+# Ignore user flags.
 CFLAGS=
 export CFLAGS
+CPPFLAGS=
+export CPPFLAGS
+LDFLAGS=
+export LDFLAGS
 
 for conf in configure.1 configure.3; do
    cp $conf configure.in

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]