diff options
Diffstat (limited to 'lang/f2c/files/f2c-f77.in')
-rw-r--r-- | lang/f2c/files/f2c-f77.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/f2c/files/f2c-f77.in b/lang/f2c/files/f2c-f77.in index 4fe8b470747..2aa8b10fe2b 100644 --- a/lang/f2c/files/f2c-f77.in +++ b/lang/f2c/files/f2c-f77.in @@ -13,6 +13,7 @@ PATH=$PATH:/bin:/usr/bin:@PREFIX@/bin # -r8 promote REAL and COMPLEX to DOUBLE REAL and DOUBLE COMPLEX # -s to strip executible # -v for verbose output +# -compatibility_version, -install_name, -current_version for libtool on darwin gcc # # Also only pass -m* to the C compiler not f2c. # @@ -276,6 +277,21 @@ do shift ;; + -install_name) + CFLAGS="$CFLAGS $1 $(shell_quote "$2")" + shift 2; + ;; + + -compatibility_version) + CFLAGS="$CFLAGS $1 $(shell_quote "$2")" + shift 2; + ;; + + -current_version) + CFLAGS="$CFLAGS $1 $(shell_quote "$2")" + shift 2; + ;; + -*) CFLAGS="$CFLAGS $(shell_quote "$1")" CPPFLAGS="$CPPFLAGS $(shell_quote "$1")" if test $VERBOSE = "yes"; then |