summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/macros.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/macros.in b/tests/macros.in
index dfcdd4995..e44952879 100644
--- a/tests/macros.in
+++ b/tests/macros.in
@@ -113,8 +113,6 @@
# gotcha is that arguments, if present, should be on the same line as the
# %configure.
#
-%configure(C:) \
- %{-C:pushd %{-C*}} \
+%configure \
%{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} \
- CFLAGS="%{optflags}" ./configure %{_build} --prefix=%{_prefix} \
- %{-C:popd}
+ CFLAGS="%{optflags}" ./configure %{_target} --prefix=%{_prefix}