summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-12-01 23:28:26 +0000
committerjbj <devnull@localhost>1998-12-01 23:28:26 +0000
commitd13e72854260e93b68cae7fd9bf3304743c69ace (patch)
tree420013c0839d595b62a52d76be2443ab94c18382 /tests
parentd1b089000e2b91f6d42848b4ccd4a30b0aae223c (diff)
downloadlibrpm-tizen-d13e72854260e93b68cae7fd9bf3304743c69ace.tar.gz
librpm-tizen-d13e72854260e93b68cae7fd9bf3304743c69ace.tar.bz2
librpm-tizen-d13e72854260e93b68cae7fd9bf3304743c69ace.zip
More build popts moved to build.c
Fix access of freed memory. CVS patchset: 2571 CVS date: 1998/12/01 23:28:26
Diffstat (limited to 'tests')
-rw-r--r--tests/macros.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/macros.in b/tests/macros.in
index d483ba5b7..378a276d5 100644
--- a/tests/macros.in
+++ b/tests/macros.in
@@ -61,8 +61,8 @@
RPM_SOURCE_DIR=\"%{_sourcedir}\"\
RPM_BUILD_DIR=\"%{_builddir}\"\
RPM_OPT_FLAGS=\"%{optflags}\"\
- RPM_ARCH=\"%{arch}\"\
- RPM_OS=\"%{os}\"\
+ RPM_ARCH=\"%{_target_cpu}\"\
+ RPM_OS=\"%{_target_os}\"\
export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS\
RPM_DOC_DIR=\"%{_docdir}\"\
export RPM_DOC_DIR\
@@ -78,6 +78,7 @@
# ---- configure macros.
# Macro(s) similar to those used by configure.
#
+%_prefix @prefix@
%_build @build@
%_build_alias @build_alias@
%_build_cpu @build_cpu@
@@ -88,4 +89,8 @@
%_host_cpu @host_cpu@
%_host_vendor @host_vendor@
%_host_os @host_os@
-%_prefix @prefix@
+%_target @target@
+%_target_alias @target_alias@
+%_target_cpu @target_cpu@
+%_target_vendor @target_vendor@
+%_target_os @target_os@