Skip to content

Commit e28951e

Browse files
authored
Merge pull request #1863 from jsquyres/pr/specfile-fortran-flags-fix
openmpi.spec: don't export FFLAGS
2 parents cc2a648 + 48938f5 commit e28951e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

contrib/dist/linux/openmpi.spec

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# University of Stuttgart. All rights reserved.
1010
# Copyright (c) 2004-2005 The Regents of the University of California.
1111
# All rights reserved.
12-
# Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
12+
# Copyright (c) 2006-2016 Cisco Systems, Inc. All rights reserved.
1313
# Copyright (c) 2013 Mellanox Technologies, Inc.
1414
# All rights reserved.
1515
# Copyright (c) 2015 Research Organization for Information Science
@@ -436,9 +436,8 @@ fi
436436

437437
CFLAGS="%{?cflags:%{cflags}}%{!?cflags:$RPM_OPT_FLAGS}"
438438
CXXFLAGS="%{?cxxflags:%{cxxflags}}%{!?cxxflags:$RPM_OPT_FLAGS}"
439-
FFLAGS="%{?f77flags:%{f77flags}}%{!?f7flags:$RPM_OPT_FLAGS}"
440439
FCFLAGS="%{?fcflags:%{fcflags}}%{!?fcflags:$RPM_OPT_FLAGS}"
441-
export CFLAGS CXXFLAGS F77FLAGS FCFLAGS
440+
export CFLAGS CXXFLAGS FCFLAGS
442441

443442
%configure %{configure_options}
444443
%{__make} %{?mflags}

0 commit comments

Comments
 (0)