From f9fe4c29da01a5fe838dbeb622c453040e99f33a Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Fri, 10 Jul 2015 08:47:28 +0200 Subject: [PATCH] gcc5: Fix quickworld. When copying the Makefile from gcc47, the writing of a comment line to configargs.h about it being a generated file was removed, but the output redirection was not adjusted to create the file from scratch. This led to quickworld just appending to the existing header in /usr/obj and resultant build errors. --- gnu/usr.bin/cc50/cc_prep/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/usr.bin/cc50/cc_prep/Makefile b/gnu/usr.bin/cc50/cc_prep/Makefile index 05f14b93d7..d27ccd834d 100644 --- a/gnu/usr.bin/cc50/cc_prep/Makefile +++ b/gnu/usr.bin/cc50/cc_prep/Makefile @@ -35,7 +35,7 @@ plugin-version.h: echo ' datestamp, devphase, revision, configuration_arguments};' >> ${.TARGET} configargs.h: Makefile - echo 'static const char configuration_arguments[] = ' >> ${.TARGET} + echo 'static const char configuration_arguments[] = ' > ${.TARGET} echo ' "DragonFly/${TARGET_ARCH} system compiler (${LANGUAGES}${LANG3}${LANG4})";' >> ${.TARGET} echo 'static const char thread_model[] = "posix";' >> ${.TARGET} echo 'static const struct {' >> ${.TARGET} -- 2.41.0