[btanks] scons uses CCFLAGS, not CFLAGS.

Bruno Wolff III bruno at fedoraproject.org
Sun Jun 26 19:15:04 UTC 2011


commit 7d0ce7e9541cb046eacb515b18217b564348a3c2
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sat Jun 25 10:19:58 2011 -0500

    scons uses CCFLAGS, not CFLAGS.

 btanks.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/btanks.spec b/btanks.spec
index 9adaff8..b3a9321 100644
--- a/btanks.spec
+++ b/btanks.spec
@@ -82,7 +82,7 @@ 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.
-export CFLAGS="%{optflags}"; \
+export CCFLAGS="%{optflags}"; \
         export CXXFLAGS="%{optflags}"; \
         scons %{?_smp_mflags} \
         prefix=%{_prefix} \


More information about the scm-commits mailing list