diff options
author | jb <jb@FreeBSD.org> | 2007-11-20 02:07:30 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2007-11-20 02:07:30 +0000 |
commit | 5582e69034ba50273e149d51bf06746392403b90 (patch) | |
tree | c738c1fa5da607c325a8355cce50ee176ba703ca /lib | |
parent | ef0bd1833e12eed047d40a562663a0d7122ced7a (diff) | |
download | FreeBSD-src-5582e69034ba50273e149d51bf06746392403b90.zip FreeBSD-src-5582e69034ba50273e149d51bf06746392403b90.tar.gz |
These are the things that the tinderbox has problems with because it
doesn't use the default CFLAGS which contain -fno-strict-aliasing.
Until the code is cleaned up, just add -fno-strict-aliasing to the
CFLAGS of these for the tinderboxes' sake, allowing the rest of the
tree to have -Werror enabled again.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkse/Makefile | 1 | ||||
-rw-r--r-- | lib/libthr/Makefile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile index d7c5acb..8018ce5 100644 --- a/lib/libkse/Makefile +++ b/lib/libkse/Makefile @@ -25,6 +25,7 @@ CFLAGS+=-I${.CURDIR}/sys CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_ARCH} CFLAGS+=-fno-builtin +CFLAGS+=-fno-strict-aliasing # Uncomment this if you want libkse to contain debug information for # thread locking. diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile index a0f4069..c3d687b 100644 --- a/lib/libthr/Makefile +++ b/lib/libthr/Makefile @@ -27,6 +27,7 @@ CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_ARCH} CFLAGS+=-I${.CURDIR}/../libthread_db CFLAGS+=-Winline +CFLAGS+=-fno-strict-aliasing # CFLAGS+=-DSYSTEM_SCOPE_ONLY |