joerg
ba5a5a1119
Add new "analyze" command to run clang's static analyzer in a directory
...
on all C/C++ files.
2011-08-27 18:35:19 +00:00
uwe
d4eba6a9b8
Switch sh3 to GCC 4.5. Tested on landisk (including doing build.sh on it).
2011-08-25 00:01:25 +00:00
christos
875018bf8a
add -Wformat=2
2011-08-23 05:22:25 +00:00
mrg
8188255310
switch sparc to GCC 4.5.3.
2011-08-17 09:18:37 +00:00
mrg
f2baad49fd
switch x86 to GCC 4.5.
2011-08-07 08:15:02 +00:00
plunky
67e53d37bc
NOPATH the lib we are making, rather than HOSTPROG which is irrelevant
2011-08-05 09:36:28 +00:00
matt
c3bb2a6aa0
Switch mips and powerpc to GCC 4.5
2011-08-05 00:24:12 +00:00
mrg
7941c10dff
switch sparc64 to GCC 4.5.3.
2011-08-04 00:52:49 +00:00
mrg
e740c47eb7
updates for xorg-server 1.10.3
2011-08-02 07:44:39 +00:00
mrg
d4bb67a86f
update to xorg-server 1.9.5
2011-07-24 01:40:40 +00:00
mrg
4cdc33f137
updates for freetype 2.4.5
2011-07-24 00:33:38 +00:00
tsutsui
ce89d25111
Add definitions for elf2aout tools.
2011-07-16 23:42:42 +00:00
matt
dff840eccd
VAX kernel modules need to be built with -fno-pic
2011-07-14 18:12:35 +00:00
matt
573c9331e5
Add more links for evbmips
...
Add ${MACHINE} link
2011-07-10 23:50:24 +00:00
tsutsui
0684fd552b
Add OBJCOPY_ELF2AOUT_FLAGS for some arm ports to create a.out binaries
...
using objcopy(1) for old firmware, shared among src/distrib and
src/sys/arch/${MACHIHNE}/conf/Makefile.${MACHINE}.inc.
Discussed with mrg@ and matt@ on source-changes-d@.
2011-07-10 04:36:13 +00:00
uwe
cc65ce8e22
Augment previous. Use -Wno-uninitialized for sh3 in general, not just
...
dreamcast. The problem is not sh3 per-se, but the fact that for sh3
we use -Os by default. That causes false positives since gcc doesn't
detect that e.g. a variable is set and used under the same condition
in different "if" statements.
XXX: This should probably check for optimization level instead,
though, for all I know, phase of moon might be a contributing cause
too.
XXX2: MACHINE_CPU is set in bsd.own.mk and is not available here, so
we have to spell the test in terms of MACHINE_ARCH.
2011-07-08 20:59:53 +00:00
mrg
5f311ecb4a
# XXX GCC 4.5 for dreamcast is extra noisy for cases it should be better with
...
workaround via: CFLAGS+= -Wno-uninitialized
2011-07-08 03:29:52 +00:00
dholland
5d43254f4a
Fix the value of "appdefaultdir" that ends up in native X .pc files.
...
(It should be "app-defaults" but was "app-default", probably because
of a typo; it's been wrong ever since this logic was put in two and a
half years ago, and as app-defaults files are a legacy mechanism it
took this long for anyone to notice.) Should be pulled up to -5.
2011-07-03 22:59:46 +00:00
matt
9233f8063e
Switch powerpc to USE_COMPILERCRTSTUFF=no
2011-07-02 20:21:16 +00:00
matt
dd0507a9a5
Replace gzip with ${TOOL_GZIP} in manual compression.
...
Modify the description of USE_PIGZGZIP.
2011-06-30 18:13:51 +00:00
matt
65fe75b53f
After making sure USE_PIGZGZIP is defined, add a TOOL_GZIP which will be
...
gzip or ${TOOL_PIGZ}. Use of gzip can be replaced with ${TOOL_GZIP} and
automatically get to use pigz if USE_PIGZGZIP is defined as "yes". This
avoid having to special case each of gzip.
2011-06-30 18:09:54 +00:00
mrg
f53e78abc3
XXX: for now, disable fatal linker warnings for GCC 4.5.
2011-06-29 08:10:05 +00:00
mrg
75e42fa7da
remove most of the remaining HAVE_GCC tests that are always true in
...
the modern world.
2011-06-20 07:43:56 +00:00
mrg
8f161cd6d3
remove all the code that supported HAVE_GCC=3. mostly from chuq.
2011-06-20 06:52:36 +00:00
mrg
a2c4975d63
build evbppc modules in 3 different flavours:
...
- oea (default)
- ibm4xx
- booke
this, together with earlier machine_module[] work, should allow evbppc
platforms to use modules.
2011-06-15 09:45:58 +00:00
christos
7e3e66b16b
add libgcc_pic dependency.
2011-06-05 23:09:15 +00:00
joerg
78ec0254df
Reorder CWARNFLAGS and -Werror in CFLAGS to allow CWARNFLAGS and by
...
extension CWARNFLAGS.${SOURCE} to override it selectively.
2011-05-30 13:56:34 +00:00
joerg
70e887f5ec
Add an alternative to NOGCCERROR for clang.
2011-05-30 13:47:01 +00:00
drochner
53cdf0b54e
make the "tags" target non-.PHONY because it reflects a real file,
...
and remove some nonsense in libc Makefile which caused that
a "tags" file was written in my source tree
2011-05-27 17:06:54 +00:00
joerg
a216da57a6
Default to -Wno-sign-compare -Wno-pointer-sign for clang.
...
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
joerg
7e217e1f53
Restrict -Wno-non-template-friend and -Wno-pmf-conversions to GCC.
2011-05-25 15:02:25 +00:00
joerg
175c50ac7e
Add support for compiler specific warning flags with
...
CWARNFLAGS.${COMPILER}
2011-05-25 15:01:08 +00:00
joerg
0cd1e39abe
Disable Clang's array boundary checker for now (hits e.g. in GCC and BDB)
2011-05-23 14:32:05 +00:00
joerg
1742cf8828
Simplify a bit
2011-05-22 20:52:12 +00:00
joerg
7cfd64c6f6
Split SSP parameters on a per-compiler base
2011-05-22 20:49:16 +00:00
joerg
e7d3de7e55
No -Wno-traditional for clang.
2011-05-22 20:24:46 +00:00
plunky
762c58f13a
simplify PCC inclusion; MKPCCDMDS is not really required
2011-05-20 16:02:21 +00:00
joerg
00f0e17e85
Fully support per-target AFLAGS.
2011-05-20 14:27:48 +00:00
joerg
1fe45e28aa
Add fine-grained compiler selection, including clang support.
2011-05-19 14:29:27 +00:00
adam
dde94184d6
Reverting last change; joerg has a better approach
2011-05-19 06:09:36 +00:00
adam
84862a28ce
Add support for LLVM/Clang
2011-05-18 13:08:14 +00:00
christos
6bbebf8328
Enable c99 mode by default.
...
This has the side effect of complaining for missing prototypes
implicit type declarations and missing return statements.
NB: I've only ran a build on amd64, so other platforms MI code might break.
If you can't wait for me to fix them, revert this commit.
2011-05-17 01:12:34 +00:00
jmmv
21bb82bc2e
Remove any stale .fifo files when doing 'test'. These may be leaked if
...
the user aborts the execution of atf-run with Ctrl+C, which will prevent
a subsequent 'make test' from working at all.
2011-05-14 17:47:28 +00:00
haad
1d514c3d24
Add MKPERFUSE flag to those who are enabled by default.
2011-05-09 14:36:48 +00:00
he
ae7d1665f4
The new Heimdal adds -lwind and -lheimbase to the set of libraries,
...
so define the corresponding LIB* variables.
These are also needed in the PAM_STATIC_* variables, so add them there too.
2011-04-26 08:22:17 +00:00
joerg
0cef9f9563
Add MKBSDGREP switch for easy testing of the GNU grep
...
replacement/alternative.
2011-04-21 14:26:33 +00:00
joerg
cad1e2593b
Fix --sysroot usage.
2011-04-18 02:16:55 +00:00
christos
afb74ce0eb
Revert previous, breaks builds completely (cd /usr/src/bin/test && make clean &&
...
make)
2011-04-17 15:03:37 +00:00
tron
7d762fda62
Don't use "--sysroot=/" for host builds as "nbhost-mkdep" doesn't
...
understand that option. This should unbreak tool builds.
2011-04-17 12:54:22 +00:00
mrg
19625811ee
prepare for evbppc modules, and allow overriding the ${MACHINE} for
...
installed modules.
2011-04-17 09:47:40 +00:00