File cmsfs-1.1.8-cflags.patch of Package cmsfs.14094

From 266207c472854d13d09ab793c77855148f0537de Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Wed, 4 Aug 2010 13:46:45 +0200
Subject: Use CFLAGS in config script

We should be using any passed CFLAGS in the config script.

Signed-off-by: Hannes Reinecke <hare@suse.de>
---
 cmsfssed.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmsfssed.sh b/cmsfssed.sh
index 8c9e936..d5353e2 100755
--- a/cmsfssed.sh
+++ b/cmsfssed.sh
@@ -25,7 +25,7 @@ Z=`basename "$0"`
 #
 PREFIX="/usr"
 MANDIR="${PREFIX}/man"
-DEFINES=""
+DEFINES="${CFLAGS}"
 INCLUDES=""
 LINUX_RELEASE=""
 MODULES_DIRECTORY=""
-- 
1.8.1.4

openSUSE Build Service is sponsored by