commit | 7033e49de148d7a7bc232093cf389db3af0b0cb9 | [log] [tgz] |
---|---|---|
author | rsc <devnull@localhost> | Tue Dec 28 23:14:43 2004 +0000 |
committer | rsc <devnull@localhost> | Tue Dec 28 23:14:43 2004 +0000 |
tree | 4636dfadb80f03a462ab75b22e5aa593169b303b | |
parent | 228bb71d16e38cf05974d547899282eda5bb2731 [diff] [blame] |
set flag for freebsd 5
diff --git a/bin/9c b/bin/9c index 5ee8f47..0b5e95f 100755 --- a/bin/9c +++ b/bin/9c
@@ -22,7 +22,14 @@ 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" ;;