[minised/el6] Some OS don't support ldflags so we should determine if it exists first.

Christopher Meng cicku at fedoraproject.org
Wed Apr 23 01:17:19 UTC 2014


commit f6867bd5f15ac3ea24e10b7dadbc7cb2594cd44e
Author: Christopher Meng <i at cicku.me>
Date:   Wed Apr 23 09:16:17 2014 +0800

    Some OS don't support ldflags so we should determine if it exists first.

 minised.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/minised.spec b/minised.spec
index 9e398dd..dcaa6aa 100644
--- a/minised.spec
+++ b/minised.spec
@@ -22,7 +22,7 @@ lovely, historic sed implementation.
 %patch0 -p1
 
 %build
-make %{?_smp_mflags} CFLAGS="%{optflags} -Wwrite-strings" LDFLAGS=%{__global_ldflags}
+make %{?_smp_mflags} CFLAGS="%{optflags} -Wwrite-strings" LDFLAGS=%{?__global_ldflags}
 
 %install
 %make_install


More information about the scm-commits mailing list