3af15b801a
you can do something like: make CC="gcc -pipe" PKG_FC="f77 -pipe" CFLAGS="-Wformat -g" FFLAGS="-g" and still have pvm compile correctly. Addresses PR pkg/12949 submitted by Thor Simon <tls@cs.stevens-tech.edu>.
22 lines
450 B
Text
22 lines
450 B
Text
$NetBSD: patch-an,v 1.4 2001/05/24 19:32:32 dmcmahill Exp $
|
|
|
|
passdown {C,F}FLAGS and also quote stuff so
|
|
CC=gcc -pipe
|
|
works
|
|
|
|
--- Makefile.aimk.orig Mon Aug 11 10:38:48 1997
|
|
+++ Makefile.aimk Tue May 15 22:29:18 2001
|
|
@@ -34,9 +34,9 @@
|
|
#
|
|
|
|
-PVMOPTS = CC=$(CC) \
|
|
- F77=$(F77)
|
|
+PVMOPTS = CC="$(CC)" \
|
|
+ F77="$(F77)" \
|
|
+ CFLOPTS="$(CFLAGS)" \
|
|
+ FFLOPTS="$(FFLAGS)"
|
|
|
|
-# CFLOPTS=$(CFLOPTS)
|
|
-# FFLOPTS=$(FFLOPTS)
|
|
# PVMDIR=$(PVMDIR)
|
|
|