diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2020-01-29 04:32:06 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2020-01-29 04:32:06 +0000 |
commit | 4ff85ece0ebabef087ec0155b70ea2799b1c1579 (patch) | |
tree | c484119551dd0d6c454a4b0c1d579d2493e35575 /lib/csu/powerpc64 | |
parent | 3ea691c2612952dc5e6963649ad64312bd6dff4f (diff) | |
download | src-4ff85ece0ebabef087ec0155b70ea2799b1c1579.tar.gz src-4ff85ece0ebabef087ec0155b70ea2799b1c1579.zip |
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
Notes
Notes:
svn path=/head/; revision=357242
Diffstat (limited to 'lib/csu/powerpc64')
-rw-r--r-- | lib/csu/powerpc64/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csu/powerpc64/Makefile b/lib/csu/powerpc64/Makefile index ee1d76065756..e452a567d966 100644 --- a/lib/csu/powerpc64/Makefile +++ b/lib/csu/powerpc64/Makefile @@ -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 |