From 18742142a96bb5ee49a08e1999fb92e96b3bdb34 Mon Sep 17 00:00:00 2001 From: jbj Date: Thu, 1 Jun 2000 02:00:12 +0000 Subject: Hack to pass build args correctly. Create noarch symlink to canonical arch directory. CVS patchset: 3785 CVS date: 2000/06/01 02:00:12 --- rpm.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rpm.c') diff --git a/rpm.c b/rpm.c index 5af17b52e..bb0bc36f6 100755 --- a/rpm.c +++ b/rpm.c @@ -164,6 +164,11 @@ static struct poptOption optionsTable[] = { { NULL, 'y', 0, 0, 'V', NULL, NULL}, #endif { "version", '\0', 0, &showVersion, 0, NULL, NULL}, + + /* XXX hack to pass build args correctly */ + { "buildroot", '\0', POPT_ARG_STRING, 0, 0, NULL, NULL}, + { "target", '\0', POPT_ARG_STRING, 0, 0, NULL, NULL}, + { NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmQVSourcePoptTable, 0, (void *) &rpmQVArgs, NULL }, { NULL, '\0', POPT_ARG_INCLUDE_TABLE, -- cgit v1.2.3