GCC build option for elf libs and usr.bin

This commit is contained in:
Arun Thomas 2011-06-29 10:32:37 +02:00
parent ecb1c96fc5
commit 5971d0532c
4 changed files with 7 additions and 7 deletions

View file

@ -3,8 +3,8 @@
make -C usr.bin/m4 install
20110629:
You must install clang. It is now used to build some of
the userland utilities.
You must install clang. By default, it is used to build the
elf libraries and some userland utilities.
20110628:
Since buildworld will also build the elf-libraries, you

View file

@ -2,7 +2,7 @@
set -e
export CC=clang
export CC=${CC:-clang}
export COMPILER_TYPE=gnu
export PATH=$PATH:/usr/pkg/bin

View file

@ -1,8 +1,8 @@
# $Id$
# Requires clang and NBSD_LIBC
# Requires NBSD_LIBC and clang/gcc (we default to using clang)
NBSD_LIBC:= yes
CC:= clang
CC:=${CC:C/^cc/clang/}
COMPILER_TYPE:= gnu
LIB= elf

View file

@ -1,6 +1,6 @@
# Require clang and NBSD_LIBC
# Requires NBSD_LIBC and clang/gcc (we default to using clang)
NBSD_LIBC:= yes
CC:= clang
CC:=${CC:C/^cc/clang/}
COMPILER_TYPE:= gnu
CPPFLAGS+= -D_NETBSD_SOURCE