projects
/
platform
/
upstream
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8186c81
)
Remove -flto, can't be build with lto
sandbox/denis13/LTO
author
Denis Khalikov
<d.khalikov@partner.samsung.com>
Wed, 8 Feb 2017 15:12:34 +0000
(18:12 +0300)
committer
Denis Khalikov
<d.khalikov@partner.samsung.com>
Wed, 8 Feb 2017 15:12:34 +0000
(18:12 +0300)
packaging/mono.spec
patch
|
blob
|
history
diff --git
a/packaging/mono.spec
b/packaging/mono.spec
index ab5a92f2d811f8dd1e69a99c0f5276e9fb6d42f5..8682861e588e667b93b2a7e3e0cda3fa0509493f 100644
(file)
--- a/
packaging/mono.spec
+++ b/
packaging/mono.spec
@@
-330,7
+330,8
@@
rm -rf mcs/class/lib/monolite/*
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
-
+export CFLAGS=$(echo $CFLAGS | sed -e "s/-flto//g")
+export CXXFLAGS=$(echo $CXXFLAGS | sed -e "s/-flto//g")
%configure --disable-rpath \
--with-moonlight=no