summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-08-20 21:45:46 +0000
committerjb <jb@FreeBSD.org>1998-08-20 21:45:46 +0000
commit2c3408bd6d41394f95b50871a5aba128d9216a8d (patch)
tree0eb3788324ee21ddb28394eb7c9a97b710e8c535 /games
parent3d49984384c48f7f5113b3da921893ce6a7e4eb5 (diff)
downloadFreeBSD-src-2c3408bd6d41394f95b50871a5aba128d9216a8d.zip
FreeBSD-src-2c3408bd6d41394f95b50871a5aba128d9216a8d.tar.gz
Make the build tools static to avoid trying to use the shared loader
before it is installed. This upsets Bruce because the host boostrap build forces tools to be static anyway. He says I'm abusing NOTOOLS in src/Makefile by using it to do a aout->elf transition build. One day I'll find a place to install host tools like these to allow a true cross build.
Diffstat (limited to 'games')
-rw-r--r--games/phantasia/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile
index 7108267..6174a46 100644
--- a/games/phantasia/Makefile
+++ b/games/phantasia/Makefile
@@ -18,7 +18,7 @@ stamp.setuprun: monsters.asc setup
touch ${.TARGET}
setup: phantglobs.o setup.o ${LIBM}
- ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} phantglobs.o setup.o -lm
+ ${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} phantglobs.o setup.o -lm
beforeinstall:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 660 \
@@ -27,7 +27,7 @@ beforeinstall:
# Make Phantasia map. Change the map commands reflect your installation.
# PLOTDEVICE is used for plotting the map. Change as appropriate.
map: map.c
- ${CC} -O ${.CURDIR}/map.c -lplot -o ${.TARGET}
+ ${CC} -static -O ${.CURDIR}/map.c -lplot -o ${.TARGET}
./map | plot > /dev/tty
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud