From 27664962f071b77d96f585053871df01de588ede Mon Sep 17 00:00:00 2001 From: miod Date: Thu, 23 Oct 2025 19:06:09 +0000 Subject: [PATCH] Prepare for gcc 3 leaving the building, COMPILER_VERSION can no longer get set to "gcc3". --- Makefile.cross | 35 ++----------------- gnu/lib/Makefile | 8 ++--- gnu/usr.bin/Makefile | 7 ++-- include/Makefile | 6 +--- lib/libc/Makefile.inc | 7 ++-- lib/libc/include/namespace.h | 8 ++--- lib/libexpat/Makefile | 9 ++--- regress/gnu/egcs/gcc-bounds/Makefile | 8 ++--- regress/gnu/egcs/gcc-builtins/Makefile | 8 ++--- .../csu/init_priority/init_priority_test.cc | 6 +--- regress/usr.bin/ssh/misc/sk-dummy/Makefile | 6 ++-- .../ssh/misc/ssh-verify-attestation/Makefile | 6 ++-- regress/usr.bin/ssh/unittests/Makefile.inc | 6 ++-- share/mk/bsd.own.mk | 12 ++----- usr.bin/cpp/Makefile | 8 +---- usr.bin/ssh/Makefile.inc | 8 ++--- 16 files changed, 35 insertions(+), 113 deletions(-) diff --git a/Makefile.cross b/Makefile.cross index d079a316d73..2941d8f7066 100644 --- a/Makefile.cross +++ b/Makefile.cross @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.cross,v 1.111 2021/05/03 00:04:31 drahn Exp $ +# $OpenBSD: Makefile.cross,v 1.112 2025/10/23 19:06:09 miod Exp $ cross-tools: cross-includes cross-binutils cross-gcc cross-lib cross-distrib: cross-tools cross-bin cross-share cross-sys cross-etc-root-var @@ -80,12 +80,7 @@ CROSSGCC= ${CROSSDIR}/.gcc_done .include .for _arch in ${TARGET_ARCH} -.if !empty(GCC3_ARCH:M${_arch}) -COMPILER_VERSION=gcc3 -BUILD_CLANG=no -CC=gcc -CXX=g++ -.elif !empty(GCC4_ARCH:M${_arch}) +.if !empty(GCC4_ARCH:M${_arch}) COMPILER_VERSION=gcc4 BUILD_CLANG=no CC=gcc @@ -268,31 +263,7 @@ ${CROSSGCC}: ${CROSSBINUTILS} chmod +x ${CROSSDIR}/usr/${TARGET_CANON}/bin/${TARGET_CANON}-cc; echo "#!/bin/sh\n${CROSSDIR}/usr/${TARGET_CANON}/bin/${TARGET_CANON}-clang --driver-mode=g++ --sysroot ${CROSSDIR} \"$$""@\"" > ${CROSSDIR}/usr/${TARGET_CANON}/bin/${TARGET_CANON}-c++; \ chmod +x ${CROSSDIR}/usr/${TARGET_CANON}/bin/${TARGET_CANON}-c++; -.elif ${COMPILER_VERSION:L} == "gcc3" - (cd ${.CURDIR}/gnu/usr.bin/gcc; \ - MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ - TARGET_ARCH=${TARGET_ARCH} TARGET_CPU=${TARGET_CPU} \ - CROSSDIR=${CROSSDIR} \ - CC=${CC} CXX=${CXX} \ - ${MAKE} -f Makefile.bsd-wrapper all && \ - env CROSSDIR=${CROSSDIR} DESTDIR=${CROSSDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ - PATH=${CROSSPATH} ${MAKE} -f Makefile.bsd-wrapper install) - cp -f ${CROSSDIR}/usr/bin/${TARGET_CANON}-g++ ${CROSSDIR}/usr/${TARGET_CANON}/bin/${TARGET_CANON}-c++ - cp -f ${CROSSDIR}/usr/bin/gcc ${CROSSDIR}/usr/${TARGET_CANON}/bin/${TARGET_CANON}-cc - cp -f ${CROSSDIR}/usr/libexec/cpp ${CROSSDIR}/usr/${TARGET_CANON}/bin/${TARGET_CANON}-libexeccpp - rm -f ${CROSSDIR}/usr/bin/gcc ${CROSSDIR}/usr/bin/cc ${CROSSDIR}/usr/libexec/cpp - ln -sf ${TARGET_CANON}-cc ${CROSSDIR}/usr/${TARGET_CANON}/bin/cc - ln -sf ${TARGET_CANON}-c++ ${CROSSDIR}/usr/${TARGET_CANON}/bin/c++ - rm -f ${CROSSDIR}/usr/${TARGET_CANON}/bin/${TARGET_CANON}-cpp - sed -e 's#/usr/libexec/cpp#${CROSSDIR}/usr/${TARGET_CANON}/bin/${TARGET_CANON}-libexeccpp#' \ - -e 's/@GNUC@/-D__GNUC__/' \ - -e 's#/usr/include#${CROSSDIR}/usr/include#' \ - -e 's/@dollaropt@//' \ - ${.CURDIR}/usr.bin/cpp/cpp.sh > ${CROSSDIR}/usr/${TARGET_CANON}/bin/${TARGET_CANON}-cpp - chmod ${BINMODE} ${CROSSDIR}/usr/${TARGET_CANON}/bin/${TARGET_CANON}-cpp - chown ${BINOWN}:${BINGRP} ${CROSSDIR}/usr/${TARGET_CANON}/bin/${TARGET_CANON}-cpp - ln -sf ${TARGET_CANON}-cpp ${CROSSDIR}/usr/${TARGET_CANON}/bin/cpp -.else +.elif ${COMPILER_VERSION:L} == "gcc4" (cd ${.CURDIR}/gnu/usr.bin/cc; \ env CROSSDIR=${CROSSDIR} \ COMPILER_VERSION=${COMPILER_VERSION} \ diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile index 477f591fad2..ff250893fed 100644 --- a/gnu/lib/Makefile +++ b/gnu/lib/Makefile @@ -1,17 +1,13 @@ -# $OpenBSD: Makefile,v 1.26 2021/09/28 08:35:06 fcambus Exp $ +# $OpenBSD: Makefile,v 1.27 2025/10/23 19:06:09 miod Exp $ .include SUBDIR+=libclang_rt libcompiler_rt libexecinfo libiberty libreadline SUBDIR+=libcxxabi libcxx .if make(obj) -SUBDIR+=libstdc++ libstdc++-v3 libsupc++-v3 +SUBDIR+=libstdc++-v3 libsupc++-v3 .else -. if ${BUILD_GCC3:L} == "yes" -SUBDIR+=libstdc++ -. endif . if ${BUILD_GCC4:L} == "yes" -# XXX make sure we build libstdc++-v3 from gcc4 SUBDIR+=libstdc++-v3 libsupc++-v3 . endif .endif diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile index 0b9f85b77ad..6a032278d2b 100644 --- a/gnu/usr.bin/Makefile +++ b/gnu/usr.bin/Makefile @@ -1,14 +1,11 @@ -# $OpenBSD: Makefile,v 1.64 2022/10/28 15:50:55 miod Exp $ +# $OpenBSD: Makefile,v 1.65 2025/10/23 19:06:10 miod Exp $ # $NetBSD: Makefile,v 1.35 1996/04/03 21:20:52 chuck Exp $ .include .if make(obj) -SUBDIR+= cc clang gcc +SUBDIR+= cc clang .else -. if ${BUILD_GCC3:L} == "yes" -SUBDIR+= gcc -. endif . if ${BUILD_GCC4:L} == "yes" SUBDIR+= cc . endif diff --git a/include/Makefile b/include/Makefile index 79360433de5..ab5b7729a27 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.232 2024/08/12 20:56:55 guenther Exp $ +# $OpenBSD: Makefile,v 1.233 2025/10/23 19:06:10 miod Exp $ # $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $ # @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91 @@ -52,10 +52,6 @@ RDIRS= ../lib/libagentx ../lib/libcbor ../lib/libcurses ../lib/libedit \ ../usr.bin/lex ../gnu/lib/libexecinfo ../gnu/lib/libreadline \ ../sys/arch/${MACHINE} -.if ${BUILD_GCC3:L} == "yes" -RDIRS+= ../gnu/usr.bin/gcc -PRDIRS+= ../gnu/lib/libstdc++ -.endif .if ${BUILD_GCC4:L} == "yes" PRDIRS+= ../gnu/lib/libstdc++-v3 ../gnu/usr.bin/cc/include .endif diff --git a/lib/libc/Makefile.inc b/lib/libc/Makefile.inc index ed0e736bf15..961189689e8 100644 --- a/lib/libc/Makefile.inc +++ b/lib/libc/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.31 2023/10/29 23:32:52 cheloha Exp $ +# $OpenBSD: Makefile.inc,v 1.32 2025/10/23 19:06:10 miod Exp $ # # This file contains make rules used to build libc # @@ -9,12 +9,9 @@ all: .endif CFLAGS+=-I${LIBCSRCDIR}/include -I${LIBCSRCDIR}/hidden -D__LIBC__ \ + -Werror=deprecated-declarations \ -Werror-implicit-function-declaration -include namespace.h -.if ${COMPILER_VERSION:L} != "gcc3" -CFLAGS+=-Werror=deprecated-declarations -.endif - # Include link-time warnings about unsafe API uses (ie. strcpy) CFLAGS+=-DAPIWARN diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h index 8503de47bee..cc83735b902 100644 --- a/lib/libc/include/namespace.h +++ b/lib/libc/include/namespace.h @@ -1,4 +1,4 @@ -/* $OpenBSD: namespace.h,v 1.16 2023/10/29 14:26:13 millert Exp $ */ +/* $OpenBSD: namespace.h,v 1.17 2025/10/23 19:06:10 miod Exp $ */ #ifndef _LIBC_NAMESPACE_H_ #define _LIBC_NAMESPACE_H_ @@ -57,13 +57,13 @@ #define DEF_WRAP(x) __weak_alias(x, WRAP(x)) #define DEF_SYS(x) __strong_alias(_thread_sys_##x, HIDDEN(x)) -#if !defined(__clang__) && __GNUC__ != 3 +#if !defined(__clang__) /* our gcc 4.2 handles redirecting builtins via PROTO_NORMAL()'s asm() label */ #define DEF_BUILTIN(x) DEF_STRONG(x) #define BUILTIN #else /* - * clang and gcc can't redirect builtins via asm() labels, so mark + * clang can't redirect builtins via asm() labels, so mark * them protected instead. */ #define DEF_BUILTIN(x) __asm("") @@ -86,7 +86,7 @@ BUILTIN void *memmove(void *, const void *, __size_t); BUILTIN void *memcpy(void *__restrict, const void *__restrict, __size_t); BUILTIN void *memset(void *, int, __size_t); BUILTIN void __stack_smash_handler(const char [], int __unused); -#if !defined(__clang__) && __GNUC__ != 3 +#if !defined(__clang__) PROTO_NORMAL(memmove); PROTO_NORMAL(memcpy); PROTO_NORMAL(memset); diff --git a/lib/libexpat/Makefile b/lib/libexpat/Makefile index 25b03847b2c..f52157ad86e 100644 --- a/lib/libexpat/Makefile +++ b/lib/libexpat/Makefile @@ -1,15 +1,10 @@ -# $OpenBSD: Makefile,v 1.16 2021/05/26 19:14:32 bluhm Exp $ +# $OpenBSD: Makefile,v 1.17 2025/10/23 19:06:10 miod Exp $ .PATH: ${.CURDIR}/lib -.include # to check ${COMPILER_VERSION} - LIB= expat SRCS= xmlparse.c xmltok.c xmlrole.c -CFLAGS+=-I${.CURDIR} -.if ${COMPILER_VERSION:L} != "gcc3" -CFLAGS+=-fvisibility=hidden -DXML_ENABLE_VISIBILITY=1 -.endif +CFLAGS+=-I${.CURDIR} -fvisibility=hidden -DXML_ENABLE_VISIBILITY=1 PC_FILES=expat.pc CLEANFILES+=${PC_FILES} diff --git a/regress/gnu/egcs/gcc-bounds/Makefile b/regress/gnu/egcs/gcc-bounds/Makefile index e48f14f95ca..2f703b564c3 100644 --- a/regress/gnu/egcs/gcc-bounds/Makefile +++ b/regress/gnu/egcs/gcc-bounds/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.18 2019/07/25 14:17:11 bluhm Exp $ +# $OpenBSD: Makefile,v 1.19 2025/10/23 19:06:10 miod Exp $ C_MODULES?= strlcpy strlcat getcwd memcpy fread memcpy declare \ sscanf vararray md builtins @@ -59,13 +59,11 @@ NOOBJ= Yes REGRESS_EXPECTED_FAILURES= c-getcwd-1 .endif -.if ${BUILD_GCC3:L} == "yes" -EXP= .exp.gcc3 -.elif ${BUILD_GCC4:L} == "yes" +.if ${BUILD_GCC4:L} == "yes" EXP= .exp.gcc4 .else regress: - @echo neither gcc3 nor gcc4 exists on ${MACHINE_ARCH} + @echo gcc4 does not exist on ${MACHINE_ARCH} @echo SKIPPED .endif diff --git a/regress/gnu/egcs/gcc-builtins/Makefile b/regress/gnu/egcs/gcc-builtins/Makefile index e8c9b5c550f..a394859f6f9 100644 --- a/regress/gnu/egcs/gcc-builtins/Makefile +++ b/regress/gnu/egcs/gcc-builtins/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2019/07/26 09:12:38 bluhm Exp $ +# $OpenBSD: Makefile,v 1.7 2025/10/23 19:06:10 miod Exp $ GCC_BUILTINS= sprintf-1 sprintf-2 sprintf-3 stpcpy-1 stpcpy-2 strcat-1 \ strcat-2 strcpy-1 strcpy-2 strncat-1 vsprintf-1 vsprintf-2 \ @@ -30,13 +30,11 @@ NOOBJ= Yes REGRESS_EXPECTED_FAILURES= ${REGRESS_TARGETS:N*strncat*} .endif -.if ${BUILD_GCC3:L} == "yes" -EXP= .exp.gcc3 -.elif ${BUILD_GCC4:L} == "yes" +.if ${BUILD_GCC4:L} == "yes" EXP= .exp.gcc4 .else regress: - @echo neither gcc3 nor gcc4 exists on ${MACHINE_ARCH} + @echo gcc4 does not exist on ${MACHINE_ARCH} @echo SKIPPED .endif diff --git a/regress/lib/csu/init_priority/init_priority_test.cc b/regress/lib/csu/init_priority/init_priority_test.cc index e3aba403028..c343b08d715 100644 --- a/regress/lib/csu/init_priority/init_priority_test.cc +++ b/regress/lib/csu/init_priority/init_priority_test.cc @@ -1,4 +1,4 @@ -/* $OpenBSD: init_priority_test.cc,v 1.4 2013/08/01 21:26:30 kettenis Exp $ */ +/* $OpenBSD: init_priority_test.cc,v 1.5 2025/10/23 19:06:10 miod Exp $ */ #include #include @@ -20,11 +20,7 @@ Test::Test(int x) counter++; } -#if __GNUC__ < 4 -#define TEST(n) Test test_##n (n) __attribute__((init_priority (n))) -#else #define TEST(n) Test test_##n __attribute__((init_priority (n))) (n) -#endif TEST(12597); TEST(20840); TEST(31319); diff --git a/regress/usr.bin/ssh/misc/sk-dummy/Makefile b/regress/usr.bin/ssh/misc/sk-dummy/Makefile index 18b0a243f66..4e6babc6885 100644 --- a/regress/usr.bin/ssh/misc/sk-dummy/Makefile +++ b/regress/usr.bin/ssh/misc/sk-dummy/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2023/01/15 23:35:10 djm Exp $ +# $OpenBSD: Makefile,v 1.4 2025/10/23 19:06:10 miod Exp $ .include .include @@ -36,6 +36,7 @@ CDIAGFLAGS+= -Wimplicit CDIAGFLAGS+= -Winline CDIAGFLAGS+= -Wmissing-declarations CDIAGFLAGS+= -Wmissing-prototypes +CDIAGFLAGS+= -Wold-style-definition CDIAGFLAGS+= -Wparentheses CDIAGFLAGS+= -Wpointer-arith CDIAGFLAGS+= -Wreturn-type @@ -48,9 +49,6 @@ CDIAGFLAGS+= -Wtrigraphs CDIAGFLAGS+= -Wuninitialized CDIAGFLAGS+= -Wunused CDIAGFLAGS+= -Wno-unused-parameter -.if ${COMPILER_VERSION:L} != "gcc3" -CDIAGFLAGS+= -Wold-style-definition -.endif CFLAGS+=-I${.CURDIR}/${SSHREL} diff --git a/regress/usr.bin/ssh/misc/ssh-verify-attestation/Makefile b/regress/usr.bin/ssh/misc/ssh-verify-attestation/Makefile index 06fb8aac4e9..4665555cdaf 100644 --- a/regress/usr.bin/ssh/misc/ssh-verify-attestation/Makefile +++ b/regress/usr.bin/ssh/misc/ssh-verify-attestation/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2025/05/06 06:05:48 djm Exp $ +# $OpenBSD: Makefile,v 1.3 2025/10/23 19:06:10 miod Exp $ .include .include @@ -46,6 +46,7 @@ CDIAGFLAGS+= -Wimplicit CDIAGFLAGS+= -Winline CDIAGFLAGS+= -Wmissing-declarations CDIAGFLAGS+= -Wmissing-prototypes +CDIAGFLAGS+= -Wold-style-definition CDIAGFLAGS+= -Wparentheses CDIAGFLAGS+= -Wpointer-arith CDIAGFLAGS+= -Wreturn-type @@ -58,9 +59,6 @@ CDIAGFLAGS+= -Wtrigraphs CDIAGFLAGS+= -Wuninitialized CDIAGFLAGS+= -Wunused CDIAGFLAGS+= -Wno-unused-parameter -.if ${COMPILER_VERSION:L} != "gcc3" -CDIAGFLAGS+= -Wold-style-definition -.endif CFLAGS+=-I${.CURDIR}/${SSHREL} diff --git a/regress/usr.bin/ssh/unittests/Makefile.inc b/regress/usr.bin/ssh/unittests/Makefile.inc index 5fcf7a950a3..a5c2e8c2118 100644 --- a/regress/usr.bin/ssh/unittests/Makefile.inc +++ b/regress/usr.bin/ssh/unittests/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.18 2025/05/06 06:05:48 djm Exp $ +# $OpenBSD: Makefile.inc,v 1.19 2025/10/23 19:06:10 miod Exp $ .include .include @@ -38,6 +38,7 @@ CDIAGFLAGS+= -Wimplicit CDIAGFLAGS+= -Winline CDIAGFLAGS+= -Wmissing-declarations CDIAGFLAGS+= -Wmissing-prototypes +CDIAGFLAGS+= -Wold-style-definition CDIAGFLAGS+= -Wparentheses CDIAGFLAGS+= -Wpointer-arith CDIAGFLAGS+= -Wreturn-type @@ -50,9 +51,6 @@ CDIAGFLAGS+= -Wtrigraphs CDIAGFLAGS+= -Wuninitialized CDIAGFLAGS+= -Wunused CDIAGFLAGS+= -Wno-unused-parameter -.if ${COMPILER_VERSION:L} != "gcc3" -CDIAGFLAGS+= -Wold-style-definition -.endif SSHREL=../../../../../usr.bin/ssh diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 15e09214439..5d419f68a4b 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.own.mk,v 1.214 2025/10/23 18:46:53 miod Exp $ +# $OpenBSD: bsd.own.mk,v 1.215 2025/10/23 19:06:10 miod Exp $ # $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $ # Host-specific overrides @@ -17,7 +17,6 @@ YP?= yes CLANG_ARCH=aarch64 amd64 arm i386 mips64 mips64el powerpc powerpc64 riscv64 sparc64 GCC4_ARCH=alpha hppa m88k sh sparc64 -GCC3_ARCH= LLD_ARCH=aarch64 amd64 arm i386 powerpc powerpc64 riscv64 LLDB_ARCH=aarch64 amd64 @@ -26,19 +25,12 @@ PIE_ARCH=aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 ris STATICPIE_ARCH=aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 riscv64 sh sparc64 .for _arch in ${MACHINE_ARCH} -.if !empty(GCC3_ARCH:M${_arch}) -COMPILER_VERSION?=gcc3 -.elif !empty(GCC4_ARCH:M${_arch}) +.if !empty(GCC4_ARCH:M${_arch}) COMPILER_VERSION?=gcc4 .elif !empty(CLANG_ARCH:M${_arch}) COMPILER_VERSION?=clang .endif -.if !empty(GCC3_ARCH:M${_arch}) -BUILD_GCC3?=yes -.else -BUILD_GCC3?=no -.endif .if !empty(GCC4_ARCH:M${_arch}) BUILD_GCC4?=yes .else diff --git a/usr.bin/cpp/Makefile b/usr.bin/cpp/Makefile index a028dbd0281..5dad72697ec 100644 --- a/usr.bin/cpp/Makefile +++ b/usr.bin/cpp/Makefile @@ -1,6 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2013/12/09 02:35:09 guenther Exp $ - -.include +# $OpenBSD: Makefile,v 1.13 2025/10/23 19:06:10 miod Exp $ NOMAN= @@ -9,10 +7,6 @@ SRCS= INSTALL_STRIP= cpp: cpp.sh -.if ${COMPILER_VERSION:L} == "gcc3" - sed -e 's/@GNUC@/-D__GNUC__/' ${.CURDIR}/cpp.sh >$@ -.else sed -e 's/@GNUC@//' ${.CURDIR}/cpp.sh >$@ -.endif .include diff --git a/usr.bin/ssh/Makefile.inc b/usr.bin/ssh/Makefile.inc index bf36100e16c..0016be7ac3f 100644 --- a/usr.bin/ssh/Makefile.inc +++ b/usr.bin/ssh/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.101 2025/08/29 03:50:38 djm Exp $ +# $OpenBSD: Makefile.inc,v 1.102 2025/10/23 19:06:10 miod Exp $ .include @@ -15,19 +15,17 @@ CDIAGFLAGS+= -Wextra CDIAGFLAGS+= -Wformat-security CDIAGFLAGS+= -Wmissing-declarations CDIAGFLAGS+= -Wmissing-prototypes +CDIAGFLAGS+= -Wold-style-definition CDIAGFLAGS+= -Wpointer-arith CDIAGFLAGS+= -Wshadow +CDIAGFLAGS+= -Wstrict-aliasing=2 CDIAGFLAGS+= -Wstrict-prototypes CDIAGFLAGS+= -Wunused CDIAGFLAGS+= -Wno-unused-parameter # Lots of these in protocol handlers. .if ${COMPILER_VERSION:L} == "clang" CDIAGFLAGS+= -Widiomatic-parentheses -Wparentheses .endif -.if ${COMPILER_VERSION:L} != "gcc3" -CDIAGFLAGS+= -Wstrict-aliasing=2 -CDIAGFLAGS+= -Wold-style-definition CDIAGFLAGS+= -Werror -.endif #DEBUG=-g #INSTALL_STRIP=