diff options
author | rsc <devnull@localhost> | 2004-12-28 23:14:43 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-12-28 23:14:43 +0000 |
commit | 7033e49de148d7a7bc232093cf389db3af0b0cb9 (patch) | |
tree | 4636dfadb80f03a462ab75b22e5aa593169b303b | |
parent | 228bb71d16e38cf05974d547899282eda5bb2731 (diff) | |
download | plan9port-7033e49de148d7a7bc232093cf389db3af0b0cb9.tar.gz plan9port-7033e49de148d7a7bc232093cf389db3af0b0cb9.tar.bz2 plan9port-7033e49de148d7a7bc232093cf389db3af0b0cb9.zip |
set flag for freebsd 5
-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" ;; |