summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/mkmakefile.c
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2010-04-22 09:20:17 +0000
committernetchild <netchild@FreeBSD.org>2010-04-22 09:20:17 +0000
commitec68a94632f90227249393eaa8f36f3a22a91393 (patch)
treebd5c2d585b130a910219a8e6e320fdb7c35237aa /usr.sbin/config/mkmakefile.c
parent20eaac12a517074806a249fd85baec91d92ac1ef (diff)
downloadFreeBSD-src-ec68a94632f90227249393eaa8f36f3a22a91393.zip
FreeBSD-src-ec68a94632f90227249393eaa8f36f3a22a91393.tar.gz
Revert r206179 (by imp) and do something similar which is more consistent
with all other corresponding CTF places by changing the corresponding code which is generated by config(8). Or in short, move the '@' from the variable definition to the use of the variable. [1] While I'm here break up a long line. [2] Discussed with: imp [1,2], bde [2]
Diffstat (limited to 'usr.sbin/config/mkmakefile.c')
-rw-r--r--usr.sbin/config/mkmakefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c
index f0d37fa..7845089 100644
--- a/usr.sbin/config/mkmakefile.c
+++ b/usr.sbin/config/mkmakefile.c
@@ -741,7 +741,7 @@ do_rules(FILE *f)
printf("config: don't know rules for %s\n", np);
break;
}
- snprintf(cmd, sizeof(cmd), "${%s_%c%s}\n.if defined(NORMAL_CTFCONVERT) && !empty(NORMAL_CTFCONVERT)\n\t${NORMAL_CTFCONVERT}\n.endif", ftype,
+ snprintf(cmd, sizeof(cmd), "${%s_%c%s}\n\t@${NORMAL_CTFCONVERT}", ftype,
toupper(och),
ftp->f_flags & NOWERROR ? "_NOWERROR" : "");
compilewith = cmd;
OpenPOWER on IntegriCloud