commit
b89da782cf
15
gcc.spec
15
gcc.spec
@ -36,7 +36,7 @@
|
|||||||
Summary: Various compilers (C, C++, Objective-C, Java, ...)
|
Summary: Various compilers (C, C++, Objective-C, Java, ...)
|
||||||
Name: gcc
|
Name: gcc
|
||||||
Version: 7.3.0
|
Version: 7.3.0
|
||||||
Release: %{gcc_release}.h30
|
Release: %{gcc_release}.h31
|
||||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
|
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
#Source0: hcc-aarch64-linux-release.tar.bz2
|
#Source0: hcc-aarch64-linux-release.tar.bz2
|
||||||
@ -568,7 +568,6 @@ CFLAGS='-O2 -g'
|
|||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%global optflags `echo %{optflags}|sed -e 's/-fcf-protection//g'`
|
%global optflags `echo %{optflags}|sed -e 's/-fcf-protection//g'`
|
||||||
%endif
|
%endif
|
||||||
# Undo the broken autoconf change in recent Fedora versions
|
|
||||||
export CONFIG_SITE=NONE
|
export CONFIG_SITE=NONE
|
||||||
%if %{build_java}
|
%if %{build_java}
|
||||||
export GCJ_PROPERTIES=jdt.compiler.useSingleThread=true
|
export GCJ_PROPERTIES=jdt.compiler.useSingleThread=true
|
||||||
@ -1690,11 +1689,7 @@ export PATH=`pwd`/java_hacks${PATH:+:$PATH}
|
|||||||
%if 0
|
%if 0
|
||||||
# run the tests.
|
# run the tests.
|
||||||
make %{?_smp_mflags} -k check ALT_CC_UNDER_TEST=gcc ALT_CXX_UNDER_TEST=g++ \
|
make %{?_smp_mflags} -k check ALT_CC_UNDER_TEST=gcc ALT_CXX_UNDER_TEST=g++ \
|
||||||
%if 0%{?fedora} >= 20
|
RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector-strong}'" || :
|
||||||
RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector-strong}'" || :
|
|
||||||
%else
|
|
||||||
RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector}'" || :
|
|
||||||
%endif
|
|
||||||
echo ====================TESTING=========================
|
echo ====================TESTING=========================
|
||||||
( LC_ALL=C ../contrib/test_summary || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}'
|
( LC_ALL=C ../contrib/test_summary || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}'
|
||||||
echo ====================TESTING END=====================
|
echo ====================TESTING END=====================
|
||||||
@ -3142,6 +3137,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 3 2020 chenli <chenli147@huawei.com> - 7.3.0-20190804.h31
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:delete unneeded if condition
|
||||||
|
|
||||||
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.3.0-20190804.h30
|
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.3.0-20190804.h30
|
||||||
- Type:NA
|
- Type:NA
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user