summaryrefslogtreecommitdiff
path: root/benchmarks/benchfft/patches/patch-ad
blob: 341d9d334c8b6d0fd5d8c52a252901c780654097 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ad,v 1.4 2001/04/15 02:20:06 dmcmahill Exp $

link required fortran library.

--- Makefile.in.orig	Tue Oct 20 12:42:00 1998
+++ Makefile.in	Fri May 12 17:11:17 2000
@@ -377,4 +377,5 @@
 F77 = @F77@
 FFLAGS = @FFLAGS@
+FLIBS = @FLIBS@
 F90 = @F90@
 F90FLAGS = @FFLAGS@
@@ -496,5 +497,5 @@
 
 bench: $(OBJECTS)
-	$(CC) $(CFLAGS) $(OBJECTS) $(LIBRARIES) -o $@
+	$(CC) $(CFLAGS) $(OBJECTS) $(LIBRARIES) $(FLIBS) -u _MAIN__ -u MAIN__ -o $@
 
 submit: bench