modify
This commit is contained in:
parent
523d5a7c93
commit
474bea9bbb
15
gcc.spec
15
gcc.spec
@ -36,7 +36,7 @@
|
||||
Summary: Various compilers (C, C++, Objective-C, Java, ...)
|
||||
Name: gcc
|
||||
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
|
||||
Group: Development/Languages
|
||||
#Source0: hcc-aarch64-linux-release.tar.bz2
|
||||
@ -568,7 +568,6 @@ CFLAGS='-O2 -g'
|
||||
%ifarch x86_64
|
||||
%global optflags `echo %{optflags}|sed -e 's/-fcf-protection//g'`
|
||||
%endif
|
||||
# Undo the broken autoconf change in recent Fedora versions
|
||||
export CONFIG_SITE=NONE
|
||||
%if %{build_java}
|
||||
export GCJ_PROPERTIES=jdt.compiler.useSingleThread=true
|
||||
@ -1690,11 +1689,7 @@ export PATH=`pwd`/java_hacks${PATH:+:$PATH}
|
||||
%if 0
|
||||
# run the tests.
|
||||
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}'" || :
|
||||
%else
|
||||
RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector}'" || :
|
||||
%endif
|
||||
RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector-strong}'" || :
|
||||
echo ====================TESTING=========================
|
||||
( 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=====================
|
||||
@ -3142,6 +3137,12 @@ fi
|
||||
|
||||
|
||||
%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
|
||||
- Type:NA
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user