GCC build option for elf libs and usr.bin
This commit is contained in:
parent
ecb1c96fc5
commit
5971d0532c
|
@ -3,8 +3,8 @@
|
||||||
make -C usr.bin/m4 install
|
make -C usr.bin/m4 install
|
||||||
|
|
||||||
20110629:
|
20110629:
|
||||||
You must install clang. It is now used to build some of
|
You must install clang. By default, it is used to build the
|
||||||
the userland utilities.
|
elf libraries and some userland utilities.
|
||||||
|
|
||||||
20110628:
|
20110628:
|
||||||
Since buildworld will also build the elf-libraries, you
|
Since buildworld will also build the elf-libraries, you
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
export CC=clang
|
export CC=${CC:-clang}
|
||||||
export COMPILER_TYPE=gnu
|
export COMPILER_TYPE=gnu
|
||||||
export PATH=$PATH:/usr/pkg/bin
|
export PATH=$PATH:/usr/pkg/bin
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
# Requires clang and NBSD_LIBC
|
# Requires NBSD_LIBC and clang/gcc (we default to using clang)
|
||||||
NBSD_LIBC:= yes
|
NBSD_LIBC:= yes
|
||||||
CC:= clang
|
CC:=${CC:C/^cc/clang/}
|
||||||
COMPILER_TYPE:= gnu
|
COMPILER_TYPE:= gnu
|
||||||
|
|
||||||
LIB= elf
|
LIB= elf
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Require clang and NBSD_LIBC
|
# Requires NBSD_LIBC and clang/gcc (we default to using clang)
|
||||||
NBSD_LIBC:= yes
|
NBSD_LIBC:= yes
|
||||||
CC:= clang
|
CC:=${CC:C/^cc/clang/}
|
||||||
COMPILER_TYPE:= gnu
|
COMPILER_TYPE:= gnu
|
||||||
|
|
||||||
CPPFLAGS+= -D_NETBSD_SOURCE
|
CPPFLAGS+= -D_NETBSD_SOURCE
|
||||||
|
|
Loading…
Reference in a new issue