From 8cb88e136cc12b79973bb54e628a22f3aae16302 Mon Sep 17 00:00:00 2001 From: robert Date: Tue, 11 Sep 2018 18:32:56 +0000 Subject: [PATCH] add -Wall to CFLAGS --- lib/libcxx/Makefile | 4 ++-- lib/libcxxabi/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libcxx/Makefile b/lib/libcxx/Makefile index 6543b3c7e11..fc5a29a8dd1 100644 --- a/lib/libcxx/Makefile +++ b/lib/libcxx/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2018/09/11 18:31:58 robert Exp $ +# $OpenBSD: Makefile,v 1.9 2018/09/11 18:32:56 robert Exp $ .include @@ -51,7 +51,7 @@ SRCS+= algorithm.cpp \ variant.cpp \ vector.cpp -CPPFLAGS+= -DLIBCXXABI -I${HDRDIR} -D_LIBCPP_BUILDING_LIBRARY \ +CPPFLAGS+= -Wall -DLIBCXXABI -I${HDRDIR} -D_LIBCPP_BUILDING_LIBRARY \ -DLIBCXX_BUILDING_LIBCXXABI -I${AHDRDIR} -I${UHDRDIR} CXXFLAGS+= -nostdlib -nostdinc++ .if empty(CXXFLAGS:M-std=*) diff --git a/lib/libcxxabi/Makefile b/lib/libcxxabi/Makefile index d54dc99eb82..943fa0f610f 100644 --- a/lib/libcxxabi/Makefile +++ b/lib/libcxxabi/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2018/09/11 18:12:06 robert Exp $ +# $OpenBSD: Makefile,v 1.10 2018/09/11 18:32:56 robert Exp $ .include @@ -47,7 +47,7 @@ SRCS+= abort_message.cpp \ UnwindRegistersSave.S \ libunwind.cpp -CPPFLAGS+= -I${SHDRDIR} -I${HDRDIR} -I${UHDRDIR} +CPPFLAGS+= -Wall -I${SHDRDIR} -I${HDRDIR} -I${UHDRDIR} CPPFLAGS+= -D_LIBUNWIND_IS_NATIVE_ONLY CFLAGS+= -nostdlib -funwind-tables CXXFLAGS+= -nostdlib -nostdinc++ -funwind-tables -- 2.20.1