[roxterm/epel7: 2/4] Flags, flags.

Christopher Meng cicku at fedoraproject.org
Thu Aug 28 01:08:37 UTC 2014


commit 86c4bcf394eccef96ef16c5ec5cf7f843d648b24
Author: Christopher Meng <i at cicku.me>
Date:   Thu Aug 28 08:17:24 2014 +0800

    Flags, flags.

 roxterm.spec |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/roxterm.spec b/roxterm.spec
index 11caa0b..8e41238 100644
--- a/roxterm.spec
+++ b/roxterm.spec
@@ -33,14 +33,15 @@ any other X environment.
 %setup -q
 
 %build
-./mscript.py configure \
-    --enable-deprecated-bg-opts \
-    --enable-rox-locales \
-    PREFIX=%{_prefix} \
+./mscript.py configure                   \
+    --enable-deprecated-bg-opts          \
+    --enable-rox-locales                 \
+    PREFIX=%{_prefix}                    \
 %if 0%{?fedora} < 20
     DOCDIR=%{_docdir}/%{name}-%{version} \
 %endif
-    CFLAGS="%{optflags}"
+    CFLAGS="%{optflags}"                 \
+    LDFLAGS="%{?__global_ldflags}"
 ./mscript.py build
 # unsafe
 # %{?_smp_mflags}


More information about the scm-commits mailing list