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
7dd825c43f
commit
c749b4f6dd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115826
@ -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