add -Wall to CFLAGS
authorrobert <robert@openbsd.org>
Tue, 11 Sep 2018 18:32:56 +0000 (18:32 +0000)
committerrobert <robert@openbsd.org>
Tue, 11 Sep 2018 18:32:56 +0000 (18:32 +0000)
lib/libcxx/Makefile
lib/libcxxabi/Makefile

index 6543b3c..fc5a29a 100644 (file)
@@ -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 <bsd.own.mk>
 
@@ -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=*)
index d54dc99..943fa0f 100644 (file)
@@ -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 <bsd.own.mk>
 
@@ -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