Merge pull request #1863 from jsquyres/pr/specfile-fortran-flags-fix
openmpi.spec: don't export FFLAGS
Этот коммит содержится в:
Коммит
e28951e738
5
contrib/dist/linux/openmpi.spec
поставляемый
5
contrib/dist/linux/openmpi.spec
поставляемый
@ -9,7 +9,7 @@
|
||||
# University of Stuttgart. All rights reserved.
|
||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2006-2016 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2013 Mellanox Technologies, Inc.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2015 Research Organization for Information Science
|
||||
@ -436,9 +436,8 @@ fi
|
||||
|
||||
CFLAGS="%{?cflags:%{cflags}}%{!?cflags:$RPM_OPT_FLAGS}"
|
||||
CXXFLAGS="%{?cxxflags:%{cxxflags}}%{!?cxxflags:$RPM_OPT_FLAGS}"
|
||||
FFLAGS="%{?f77flags:%{f77flags}}%{!?f7flags:$RPM_OPT_FLAGS}"
|
||||
FCFLAGS="%{?fcflags:%{fcflags}}%{!?fcflags:$RPM_OPT_FLAGS}"
|
||||
export CFLAGS CXXFLAGS F77FLAGS FCFLAGS
|
||||
export CFLAGS CXXFLAGS FCFLAGS
|
||||
|
||||
%configure %{configure_options}
|
||||
%{__make} %{?mflags}
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user