summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-08-09 12:16:24 +0000
committerjperkin <jperkin@pkgsrc.org>2012-08-09 12:16:24 +0000
commita39c3e3d805c7deefed61d5f29ed3981c742dc87 (patch)
tree4446c289f67647495a8658bc28ebd19675b62880
parenta36213c4f6bbc065d88d4a9dcbbcebb796309780 (diff)
downloadpkgsrc-a39c3e3d805c7deefed61d5f29ed3981c742dc87.tar.gz
Ensure the Fortran wrappers specify the correct ABI if necessary. Fixes a
bunch of packages on Solaris when ABI=32 with 64-bit compilers.
-rw-r--r--mk/compiler.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/compiler.mk b/mk/compiler.mk
index 96215d63a49..2f586d181db 100644
--- a/mk/compiler.mk
+++ b/mk/compiler.mk
@@ -1,4 +1,4 @@
-# $NetBSD: compiler.mk,v 1.77 2012/07/08 19:57:10 marino Exp $
+# $NetBSD: compiler.mk,v 1.78 2012/08/09 12:16:24 jperkin Exp $
#
# This Makefile fragment implements handling for supported C/C++/Fortran
# compilers.
@@ -154,6 +154,7 @@ ${_var_}:= ${${_var_}:C/^/_asdf_/1:M_asdf_*:S/^_asdf_//:T} ${${_var_}:C/^/_asdf_
.if defined(ABI) && !empty(ABI)
_WRAP_EXTRA_ARGS.CC+= ${_COMPILER_ABI_FLAG.${ABI}}
_WRAP_EXTRA_ARGS.CXX+= ${_COMPILER_ABI_FLAG.${ABI}}
+_WRAP_EXTRA_ARGS.FC+= ${_COMPILER_ABI_FLAG.${ABI}}
_WRAP_EXTRA_ARGS.LD+= ${_LINKER_ABI_FLAG.${ABI}}
.endif