diff options
Diffstat (limited to 'bin/9c')
-rwxr-xr-x | bin/9c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -22,7 +22,14 @@ usegcc() tag="${SYSNAME:-`uname`}-${OBJTYPE:-`uname -m`}-${CC9:-cc}" case "$tag" in -*BSD*) usegcc ;; +*FreeBSD*) usegcc + case "`uname -r`" in + 5.*) + cflags="$cflags -D__FreeBSD5__" + ;; + esac + ;; +*BSD*) usegcc ;; *Darwin*) usegcc cflags="$ngflags -g3 -no-cpp-precomp" ;; *HP-UX*) cc=cc; cflags="-g -O -c -Ae" ;; |