summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/f2c/files/f2c-f77.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/f2c/files/f2c-f77.in b/lang/f2c/files/f2c-f77.in
index 998e40bb4e9..f59c5aadba1 100644
--- a/lang/f2c/files/f2c-f77.in
+++ b/lang/f2c/files/f2c-f77.in
@@ -26,6 +26,8 @@ PATH=$PATH:/bin:/usr/bin:@PREFIX@/bin
#
# Options:
#
+# -arch Compile for the specified architecture (Darwin)
+#
# -c Do not call linker, leave relocatables in *.o.
#
# -C Check that subscripts are in bounds.
@@ -292,6 +294,10 @@ do
shift 2;
;;
+ -arch) CFLAGS="$CFLAGS -arch $2"
+ shift 2
+ ;;
+
-*) CFLAGS="$CFLAGS $(shell_quote "$1")"
CPPFLAGS="$CPPFLAGS $(shell_quote "$1")"
if test $VERBOSE = "yes"; then