freebsd-ports/math/superlu_mt/files/patch-INSTALL-Makefile
Gerald Pfeifer e1bfc838a0 Ensure sure LDFLAGS are used correctly (which is necessary for newer
versions of GCC, for example).

PR:		182136
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net>
Approved by:	maintainer timeout
2014-01-26 13:20:07 +00:00

11 lines
387 B
Text

--- INSTALL/Makefile.orig 2013-11-16 19:14:28.000000000 +0100
+++ INSTALL/Makefile 2013-11-16 19:14:58.000000000 +0100
@@ -17,7 +17,7 @@
slamch.o: slamch.c ; $(CC) $(NOOPTS) -c $<
dlamch.o: dlamch.c ; $(CC) $(NOOPTS) -c $<
-superlu_timer.o: superlu_timer.c; $(CC) $(NOOPTS) -c $<
+superlu_timer.o: superlu_timer.c; $(CC) $(LDFLAGS) $(NOOPTS) -c $<
.c.o: ; $(CC) $(CFLAGS) -c $<