Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
858480e
)
b=21527 don't use vendors own CFLAGS for the lustre build
author
johann
<johann@lore.(none)>
Thu, 17 Dec 2009 14:22:43 +0000
(15:22 +0100)
committer
johann
<johann@lore.(none)>
Thu, 17 Dec 2009 14:22:43 +0000
(15:22 +0100)
lustre.spec.in
patch
|
blob
|
history
diff --git
a/lustre.spec.in
b/lustre.spec.in
index
2b1903f
..
2122ca2
100644
(file)
--- a/
lustre.spec.in
+++ b/
lustre.spec.in
@@
-106,6
+106,9
@@
rm -rf $RPM_BUILD_ROOT
# Set an explicit path to our Linux tree, if we can.
cd $RPM_BUILD_DIR/lustre-%{version}
+# override %optflags so that the vendor's overzealous flags don't create
+# build failures
+%define optflags -g -O2 -Werror
%configure @ac_configure_args@ %{?configure_flags:configure_flags}
make -j $RPM_BUILD_NCPUS -s