Use default WARNS setting (of 6) for lib/csu.
PR: bin/140089 Reviewed by: jmallett Approved by: ed (co-mentor)
This commit is contained in:
parent
98b77738b8
commit
03dab16e1d
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
SSP_CFLAGS=
|
SSP_CFLAGS=
|
||||||
|
|
||||||
WARNS?= 6
|
.include "../Makefile.inc"
|
||||||
|
@ -5,12 +5,9 @@
|
|||||||
SRCS= crt1.c crti.S crtn.S
|
SRCS= crt1.c crti.S crtn.S
|
||||||
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
||||||
OBJS+= Scrt1.o gcrt1.o
|
OBJS+= Scrt1.o gcrt1.o
|
||||||
CFLAGS+= -Wall -Wno-unused \
|
CFLAGS+= -I${.CURDIR}/../common \
|
||||||
-I${.CURDIR}/../common \
|
|
||||||
-I${.CURDIR}/../../libc/include
|
-I${.CURDIR}/../../libc/include
|
||||||
|
|
||||||
WARNS?= 2
|
|
||||||
|
|
||||||
all: ${OBJS}
|
all: ${OBJS}
|
||||||
|
|
||||||
CLEANFILES= ${OBJS}
|
CLEANFILES= ${OBJS}
|
||||||
|
@ -5,8 +5,7 @@
|
|||||||
SRCS= crt1.S crti.S crtn.S
|
SRCS= crt1.S crti.S crtn.S
|
||||||
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
||||||
OBJS+= Scrt1.o gcrt1.o
|
OBJS+= Scrt1.o gcrt1.o
|
||||||
CFLAGS+= -Wall -Wno-unused \
|
CFLAGS+= -I${.CURDIR}/../common \
|
||||||
-I${.CURDIR}/../common \
|
|
||||||
-I${.CURDIR}/../../libc/include
|
-I${.CURDIR}/../../libc/include
|
||||||
|
|
||||||
all: ${OBJS}
|
all: ${OBJS}
|
||||||
|
@ -5,12 +5,9 @@
|
|||||||
SRCS= crt1.c crti.S crtn.S
|
SRCS= crt1.c crti.S crtn.S
|
||||||
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
||||||
OBJS+= Scrt1.o gcrt1.o
|
OBJS+= Scrt1.o gcrt1.o
|
||||||
CFLAGS+= -Wall -Wno-unused \
|
CFLAGS+= -I${.CURDIR}/../common \
|
||||||
-I${.CURDIR}/../common \
|
|
||||||
-I${.CURDIR}/../../libc/include
|
-I${.CURDIR}/../../libc/include
|
||||||
|
|
||||||
WARNS?= 2
|
|
||||||
|
|
||||||
all: ${OBJS}
|
all: ${OBJS}
|
||||||
|
|
||||||
CLEANFILES= ${OBJS}
|
CLEANFILES= ${OBJS}
|
||||||
|
@ -72,8 +72,8 @@ void __start(char **, void (*)(void), struct Struct_Obj_Entry *, struct ps_strin
|
|||||||
void
|
void
|
||||||
__start(char **ap,
|
__start(char **ap,
|
||||||
void (*cleanup)(void), /* from shared loader */
|
void (*cleanup)(void), /* from shared loader */
|
||||||
struct Struct_Obj_Entry *obj, /* from shared loader */
|
struct Struct_Obj_Entry *obj __unused, /* from shared loader */
|
||||||
struct ps_strings *ps_strings)
|
struct ps_strings *ps_strings __unused)
|
||||||
{
|
{
|
||||||
int argc;
|
int argc;
|
||||||
char **argv;
|
char **argv;
|
||||||
|
@ -5,8 +5,7 @@
|
|||||||
SRCS= crt1.c crti.S crtn.S
|
SRCS= crt1.c crti.S crtn.S
|
||||||
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
||||||
OBJS+= Scrt1.o gcrt1.o
|
OBJS+= Scrt1.o gcrt1.o
|
||||||
CFLAGS+= -Wall -Wno-unused \
|
CFLAGS+= -I${.CURDIR}/../common \
|
||||||
-I${.CURDIR}/../common \
|
|
||||||
-I${.CURDIR}/../../libc/include
|
-I${.CURDIR}/../../libc/include
|
||||||
|
|
||||||
all: ${OBJS}
|
all: ${OBJS}
|
||||||
|
Loading…
Reference in New Issue
Block a user