summaryrefslogtreecommitdiff
path: root/rpm.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-06-01 02:00:12 +0000
committerjbj <devnull@localhost>2000-06-01 02:00:12 +0000
commit18742142a96bb5ee49a08e1999fb92e96b3bdb34 (patch)
treeda5d853009f2a432b6b3be811d158f835f79dabb /rpm.c
parentdf6f361f16c1b9d365a35b43a6c560a297643d82 (diff)
downloadlibrpm-tizen-18742142a96bb5ee49a08e1999fb92e96b3bdb34.tar.gz
librpm-tizen-18742142a96bb5ee49a08e1999fb92e96b3bdb34.tar.bz2
librpm-tizen-18742142a96bb5ee49a08e1999fb92e96b3bdb34.zip
Hack to pass build args correctly.
Create noarch symlink to canonical arch directory. CVS patchset: 3785 CVS date: 2000/06/01 02:00:12
Diffstat (limited to 'rpm.c')
-rwxr-xr-xrpm.c5
1 files changed, 5 insertions, 0 deletions
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,