Removed garbage:
- -elf in CFLAGS had no effect except to reduce portability. - -elf in LDFLAGS had even less effect, since LDFLAGS is not used. - -Wall in CFLAGS had no effect except to reduce portability and break overriding of WARNS, since the setting of WARNS implies -Wall.
This commit is contained in:
parent
1181a00359
commit
8ba6f05132
@ -6,10 +6,8 @@ SRCS= crt1.c crti.S crtn.S
|
||||
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
||||
OBJS+= gcrt1.o
|
||||
WARNS?= 6
|
||||
CFLAGS+= -elf -Wall \
|
||||
-I${.CURDIR}/../common \
|
||||
CFLAGS+= -I${.CURDIR}/../common \
|
||||
-I${.CURDIR}/../../libc/include
|
||||
LDFLAGS+= -elf
|
||||
|
||||
all: ${OBJS}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user