1
1

Merge pull request #1863 from jsquyres/pr/specfile-fortran-flags-fix

openmpi.spec: don't export FFLAGS
Этот коммит содержится в:
Jeff Squyres 2016-07-12 17:23:42 -04:00 коммит произвёл GitHub
родитель cc2a648124 48938f542c
Коммит e28951e738

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}