diff options
author | SooChan Lim <sc1.lim@samsung.com> | 2019-05-07 09:00:17 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2019-05-07 09:00:21 +0900 |
commit | 78860276d442ef2be075c1c0043bf098e4a61b50 (patch) | |
tree | 0e2e683f8eb0d61c19a518ad0e5ea3d28e15adeb | |
parent | 12b9de695d2ca9912c569e11374d3ac0a72d52f6 (diff) | |
download | mesa-78860276d442ef2be075c1c0043bf098e4a61b50.tar.gz mesa-78860276d442ef2be075c1c0043bf098e4a61b50.tar.bz2 mesa-78860276d442ef2be075c1c0043bf098e4a61b50.zip |
Revert "Fix LTO build error"
This reverts commit 149bc610e755c46e5a4b6f3780fa64340e385627.
Change-Id: I3f3c88aaa05217376fa75ed72bec973948e19d7c
-rw-r--r-- | packaging/mesa.spec | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packaging/mesa.spec b/packaging/mesa.spec index c56924c2367..000fb577e48 100644 --- a/packaging/mesa.spec +++ b/packaging/mesa.spec @@ -62,10 +62,7 @@ cp %{SOURCE1001} . cp %{SOURCE1002} . %build -%{?asan:%gcc-unforce-options} -export CFLAGS=$(echo $CFLAGS | sed -e '/-flto/s/as-needed/no-as-needed/') -export CXXFLAGS=$(echo $CXXFLAGS | sed -e '/-flto/s/as-needed/no-as-needed/') - +%{?asan:/usr/bin/gcc-unforce-options} ./autogen.sh --prefix=%{_prefix} \ --libdir=%{_libdir} \ --disable-glx \ |