Author: jhibbits Date: Wed Jan 29 04:32:06 2020 New Revision: 357242 URL: https://svnweb.freebsd.org/changeset/base/357242
Log: 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 Modified: head/lib/csu/powerpc64/Makefile Modified: head/lib/csu/powerpc64/Makefile ============================================================================== --- head/lib/csu/powerpc64/Makefile Wed Jan 29 04:31:26 2020 (r357241) +++ head/lib/csu/powerpc64/Makefile Wed Jan 29 04:32:06 2020 (r357242) @@ -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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"