diff options
author | Xiao-Yong <jinxiaoyong@gmail.com> | 2018-11-16 09:14:49 -0600 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2018-11-16 10:14:49 -0500 |
commit | 2607cc565ee3d5facb8949e9acfed35c8ae300c9 (patch) | |
tree | a58d255cba0592b544fb4866b69127dc348e9704 /INSTALL | |
parent | 74223e0b4fe2edc1e8aa9665f916603a9f14323d (diff) | |
download | plan9port-2607cc565ee3d5facb8949e9acfed35c8ae300c9.tar.gz plan9port-2607cc565ee3d5facb8949e9acfed35c8ae300c9.tar.bz2 plan9port-2607cc565ee3d5facb8949e9acfed35c8ae300c9.zip |
INSTALL: use cc to check for fontsrv on non-Darwin (#203)
FreeBSD 11.2 by default does not have gcc.
Diffstat (limited to 'INSTALL')
-rwxr-xr-x | INSTALL | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ fi if [ `uname` != Darwin ]; then # Determine whether fontsrv X11 files are available. rm -f a.out - gcc -o a.out -c -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/freetype2 -I/usr/local/include/freetype2 \ + cc -o a.out -c -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/freetype2 -I/usr/local/include/freetype2 \ -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 src/cmd/fontsrv/x11.c >/dev/null 2>&1 if [ -f a.out ]; then echo " fontsrv dependencies found." |