diff options
author | 2016-07-04 18:01:44 +0000 | |
---|---|---|
committer | 2016-07-04 18:01:44 +0000 | |
commit | d46f7e051d3e787fbf4cf0fb6dca236f085cc9e7 (patch) | |
tree | 7c12a934b7ecf8dba2292eeff62ac06ed74b73c5 /sys | |
parent | gcc's -fvisibility=hidden isn't the behavior we wanted when cleaning up (diff) | |
download | wireguard-openbsd-d46f7e051d3e787fbf4cf0fb6dca236f085cc9e7.tar.xz wireguard-openbsd-d46f7e051d3e787fbf4cf0fb6dca236f085cc9e7.zip |
DEBUGLIBS has been broken since the gcc4 switch, so delete it. CFLAGS
contains -g by default anyway
problem noted by Edgar Pettijohn (edgar (at) pettijohn-web.com)
ok millert@ kettenis@ deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/stand/Makefile.inc | 3 | ||||
-rw-r--r-- | sys/arch/hppa/stand/Makefile.inc | 3 | ||||
-rw-r--r-- | sys/arch/i386/stand/Makefile.inc | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/amd64/stand/Makefile.inc b/sys/arch/amd64/stand/Makefile.inc index 4460cf4bdaf..9ed0d8b10d2 100644 --- a/sys/arch/amd64/stand/Makefile.inc +++ b/sys/arch/amd64/stand/Makefile.inc @@ -1,10 +1,9 @@ -# $OpenBSD: Makefile.inc,v 1.13 2015/10/08 22:41:12 yasuoka Exp $ +# $OpenBSD: Makefile.inc,v 1.14 2016/07/04 18:01:44 guenther Exp $ CFLAGS=${DEBUG} ${COPTS} -Os -Wall -Werror CFLAGS+= -fno-stack-protector -DMDRANDOM CPPFLAGS+=-I${S} -I${SADIR}/libsa -I. -I${.CURDIR} SACFLAGS=-D_STANDALONE -DEBUGLIBS=no DEBUGFLAGS= # DEBUGFLAGS+=-DDEBUG # DEBUGFLAGS+=-DGIDT_DEBUG diff --git a/sys/arch/hppa/stand/Makefile.inc b/sys/arch/hppa/stand/Makefile.inc index 04551292705..d4a1e6a46f5 100644 --- a/sys/arch/hppa/stand/Makefile.inc +++ b/sys/arch/hppa/stand/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.19 2012/08/31 16:13:20 pascal Exp $ +# $OpenBSD: Makefile.inc,v 1.20 2016/07/04 18:01:44 guenther Exp $ CFLAGS=${DEBUG} -Os -Wall -Werror CPPFLAGS+=-I${S} -I. -I${.CURDIR} @@ -14,7 +14,6 @@ LINKADDR=0xf80000 LOADADDR=0xf80000 HEAP_LIMIT=0xff8000 CLEANFILES+= machine -DEBUGLIBS= no .if !make(libdep) && !make(sadep) && !make(salibdir) && !make(obj) && !(defined(PROG) && ${PROG} == "mkboot") .BEGIN: diff --git a/sys/arch/i386/stand/Makefile.inc b/sys/arch/i386/stand/Makefile.inc index a36faef6bdc..60d6d44ca55 100644 --- a/sys/arch/i386/stand/Makefile.inc +++ b/sys/arch/i386/stand/Makefile.inc @@ -1,10 +1,9 @@ -# $OpenBSD: Makefile.inc,v 1.47 2015/10/08 22:41:12 yasuoka Exp $ +# $OpenBSD: Makefile.inc,v 1.48 2016/07/04 18:01:44 guenther Exp $ CFLAGS=${DEBUG} ${COPTS} -Os -Wall -Werror CFLAGS+= -fno-stack-protector -DMDRANDOM CPPFLAGS+=-I${S} -I${SADIR}/libsa -I. -I${.CURDIR} SACFLAGS=-D_STANDALONE -DEBUGLIBS=no DEBUGFLAGS= # DEBUGFLAGS+=-DDEBUG # DEBUGFLAGS+=-DGIDT_DEBUG |