summaryrefslogtreecommitdiff
path: root/lib/librthread/Makefile
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-07-05 21:29:52 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-07-05 21:29:52 +0000
commit1a2a6a7db7b9fe8a0cbab3485a330fdf4f35559e (patch)
treee609ea01858edbfe16a611838276446148fd418e /lib/librthread/Makefile
parente02df503da80168b71a858e6a8c7131e586e322a (diff)
ELF_TOOLCHAIN bye bye.
Diffstat (limited to 'lib/librthread/Makefile')
-rw-r--r--lib/librthread/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/librthread/Makefile b/lib/librthread/Makefile
index 1c82668a5ea..d143e6c886f 100644
--- a/lib/librthread/Makefile
+++ b/lib/librthread/Makefile
@@ -1,14 +1,13 @@
-# $OpenBSD: Makefile,v 1.35 2013/06/17 19:11:54 guenther Exp $
+# $OpenBSD: Makefile,v 1.36 2013/07/05 21:29:51 miod Exp $
-# For ``COMPILER_VERSION'' and ``ELF_TOOLCHAIN''
+# For ``COMPILER_VERSION''
.include <bsd.own.mk>
LIB=pthread
LIBCSRCDIR= ${.CURDIR}/../libc
CFLAGS+=-Wall -g -Werror -Wshadow
-.if ${COMPILER_VERSION:L} == "gcc4" || \
- (${COMPILER_VERSION:L} == "gcc3" && ${ELF_TOOLCHAIN:L} == "yes")
+.if ${COMPILER_VERSION:L} == "gcc4" || ${COMPILER_VERSION:L} == "gcc3"
CFLAGS+=-Wmissing-prototypes
.endif
CFLAGS+=-Wstrict-prototypes