diff options
author | dim <dim@FreeBSD.org> | 2011-02-23 21:17:38 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-02-23 21:17:38 +0000 |
commit | e2579533e18f54bbcb1d8ed350602aa3dd8facd9 (patch) | |
tree | f7bed0a511e921c1f7280c602099d7b4d3b017fc /lib/librt | |
parent | b7b945fd78614ef96f41ba6169bcf06061c1708d (diff) | |
download | FreeBSD-src-e2579533e18f54bbcb1d8ed350602aa3dd8facd9.zip FreeBSD-src-e2579533e18f54bbcb1d8ed350602aa3dd8facd9.tar.gz |
Fix the 32-bit build stage on amd64 when WITH_CTF is enabled. It seems
ctfconvert will corrupt object files that are compiled with -g, if it is
not run with -g itself.
To fix it, remove -g from CFLAGS in lib/librt/Makefile. If you need to
compile this library with debug info, use DEBUG_FLAGS=-g instead, which
will work correctly, even when using WITH_CTF.
Diffstat (limited to 'lib/librt')
-rw-r--r-- | lib/librt/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librt/Makefile b/lib/librt/Makefile index 86be751..f624cf7 100644 --- a/lib/librt/Makefile +++ b/lib/librt/Makefile @@ -6,7 +6,7 @@ CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR} .ifndef NO_THREAD_STACK_UNWIND CFLAGS+=-fexceptions .endif -CFLAGS+=-Winline -Wall -g +CFLAGS+=-Winline -Wall DPADD= ${LIBPTHREAD} LDADD= -lpthread |