aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-02-15 06:17:03 +0800
committerjdp <jdp@FreeBSD.org>1997-02-15 06:17:03 +0800
commitd6ba6040dfb0cb3416b8b0c2cd5641321800cadd (patch)
tree2bafeed1c4356a993f9f96205bbb2141404f70aa /lang
parent9f6744f72a88f1de5c8aa07c316cde699f868549 (diff)
downloadfreebsd-ports-gnome-d6ba6040dfb0cb3416b8b0c2cd5641321800cadd.tar.gz
freebsd-ports-gnome-d6ba6040dfb0cb3416b8b0c2cd5641321800cadd.tar.zst
freebsd-ports-gnome-d6ba6040dfb0cb3416b8b0c2cd5641321800cadd.zip
Honor the user's CC and CFLAGS settings when building the code
generator. Submitted by: ache
Diffstat (limited to 'lang')
-rw-r--r--lang/modula-3-lib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/modula-3-lib/Makefile b/lang/modula-3-lib/Makefile
index a0aa75f677db..67279e31b9f5 100644
--- a/lang/modula-3-lib/Makefile
+++ b/lang/modula-3-lib/Makefile
@@ -3,7 +3,7 @@
# Date created: 28 Oct 1996
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.3 1996/11/14 23:18:58 jdp Exp $
+# $Id: Makefile,v 1.4 1996/11/29 19:49:12 jdp Exp $
#
DISTNAME= modula-3-lib-3.6
@@ -99,7 +99,7 @@ do-build:
@test -d ${WRKSRC}/m3cc/FreeBSD2 || ${MKDIR} ${WRKSRC}/m3cc/FreeBSD2
@cd ${WRKSRC}/m3cc/FreeBSD2; \
../gcc/configure i486-unknown-freebsd; \
- make m3cgc1 CC=cc CFLAGS=-O; \
+ make m3cgc1 CC="${CC}" CFLAGS="${CFLAGS}"; \
${CP} -p m3cgc1 ${temp_prefix}/lib/m3/FreeBSD2
@echo "++++++++++ everything else ++++++++++"
@cd ${WRKSRC}/m3; \