powerpc64/csu: Rename dummy asm file to force use of 'cc'
Implicit make rules build .S asm files with the compiler, rather than the assembler. r356889 removed GNU as from the build for powerpc targets, causing '.s' asm files to fail to build, due to a missing 'as'. Rename the one dummy asm file we have to a '.S' to force the implicit rules to build with the compiler rather than the assembler. Reported by: Francis Little
This commit is contained in:
parent
68f330919d
commit
2759b8ac5b
@ -18,7 +18,7 @@ FILESDIR= ${LIBDIR}
|
||||
.undef LIBRARIES_ONLY
|
||||
|
||||
CLEANFILES= ${OBJS}
|
||||
CLEANFILES+= crt1.s crtsavres.s gcrt1.s Scrt1.s
|
||||
CLEANFILES+= crt1.s crtsavres.S gcrt1.s Scrt1.s
|
||||
|
||||
# See the comment in lib/csu/common/crtbrand.c for the reason crt1.c is not
|
||||
# directly compiled to .o files.
|
||||
@ -28,7 +28,7 @@ crt1.s: crt1.c
|
||||
sed ${SED_FIX_NOTE} ${.TARGET}
|
||||
|
||||
# On powerpc64 crtsavres is an empty file
|
||||
crtsavres.s:
|
||||
crtsavres.S:
|
||||
touch ${.TARGET}
|
||||
|
||||
crt1.o: crt1.s
|
||||
|
Loading…
Reference in New Issue
Block a user