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=
|
||||
|
||||
WARNS?= 6
|
||||
.include "../Makefile.inc"
|
||||
|
@ -5,12 +5,9 @@
|
||||
SRCS= crt1.c crti.S crtn.S
|
||||
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
||||
OBJS+= Scrt1.o gcrt1.o
|
||||
CFLAGS+= -Wall -Wno-unused \
|
||||
-I${.CURDIR}/../common \
|
||||
CFLAGS+= -I${.CURDIR}/../common \
|
||||
-I${.CURDIR}/../../libc/include
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
all: ${OBJS}
|
||||
|
||||
CLEANFILES= ${OBJS}
|
||||
|
@ -5,8 +5,7 @@
|
||||
SRCS= crt1.S crti.S crtn.S
|
||||
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
||||
OBJS+= Scrt1.o gcrt1.o
|
||||
CFLAGS+= -Wall -Wno-unused \
|
||||
-I${.CURDIR}/../common \
|
||||
CFLAGS+= -I${.CURDIR}/../common \
|
||||
-I${.CURDIR}/../../libc/include
|
||||
|
||||
all: ${OBJS}
|
||||
|
@ -5,12 +5,9 @@
|
||||
SRCS= crt1.c crti.S crtn.S
|
||||
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
||||
OBJS+= Scrt1.o gcrt1.o
|
||||
CFLAGS+= -Wall -Wno-unused \
|
||||
-I${.CURDIR}/../common \
|
||||
CFLAGS+= -I${.CURDIR}/../common \
|
||||
-I${.CURDIR}/../../libc/include
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
all: ${OBJS}
|
||||
|
||||
CLEANFILES= ${OBJS}
|
||||
|
@ -72,8 +72,8 @@ void __start(char **, void (*)(void), struct Struct_Obj_Entry *, struct ps_strin
|
||||
void
|
||||
__start(char **ap,
|
||||
void (*cleanup)(void), /* from shared loader */
|
||||
struct Struct_Obj_Entry *obj, /* from shared loader */
|
||||
struct ps_strings *ps_strings)
|
||||
struct Struct_Obj_Entry *obj __unused, /* from shared loader */
|
||||
struct ps_strings *ps_strings __unused)
|
||||
{
|
||||
int argc;
|
||||
char **argv;
|
||||
|
@ -5,8 +5,7 @@
|
||||
SRCS= crt1.c crti.S crtn.S
|
||||
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
||||
OBJS+= Scrt1.o gcrt1.o
|
||||
CFLAGS+= -Wall -Wno-unused \
|
||||
-I${.CURDIR}/../common \
|
||||
CFLAGS+= -I${.CURDIR}/../common \
|
||||
-I${.CURDIR}/../../libc/include
|
||||
|
||||
all: ${OBJS}
|
||||
|
Loading…
Reference in New Issue
Block a user