[btanks] Another try at getting one copy of Fedora's flags.
Bruno Wolff III
bruno at fedoraproject.org
Sun Jun 26 19:15:45 UTC 2011
commit 1488710baddf845d5399369b18e7d283b354f6db
Author: Bruno Wolff III <bruno at wolff.to>
Date: Sat Jun 25 10:36:13 2011 -0500
Another try at getting one copy of Fedora's flags.
btanks.spec | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/btanks.spec b/btanks.spec
index 9adaff8..2c5da04 100644
--- a/btanks.spec
+++ b/btanks.spec
@@ -81,9 +81,9 @@ mv -f README-ru.txt{.new,}
%build
# flags need to be passed via environment or they get treated as a single
-# word rather than as multiple arguments.
+# word rather than as multiple arguments. CXXFLAGS is only needed if
+# there are c++ only flags that need to get added.
export CFLAGS="%{optflags}"; \
- export CXXFLAGS="%{optflags}"; \
scons %{?_smp_mflags} \
prefix=%{_prefix} \
lib_dir=%{_libdir} \
More information about the scm-commits
mailing list