Skip to content

Commit b112dd8

Browse files
committed
Use configure ARG_MAX hack by default.
Details: - Use --enable-max-arg-list-hack in configure by default. Thanks to M. Zhou, Stefano Ferraro, and others for reporting that the need for this option is becoming increasingly commonplace.
1 parent a4bbb6e commit b112dd8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

build/ac-macros/fla_check_enable_max_arg_list_hack.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ AC_DEFUN([FLA_CHECK_ENABLE_MAX_ARG_LIST_HACK],
77
dnl --disable-<option>. If so, then run the first snippet of code;
88
dnl otherwise, run the second code block.
99
AC_ARG_ENABLE([max-arg-list-hack],
10-
AC_HELP_STRING([--enable-max-arg-list-hack],[Enable makefile code that archives object files from a flat object directory, thus decreasing the potential length of the argument list to ar. Use this option if you get 'Argument list too long' error messages when make tries to archive the library. (Disabled by default.)]),
10+
AC_HELP_STRING([--enable-max-arg-list-hack],[Enable makefile code that archives object files from a flat object directory, thus decreasing the potential length of the argument list to ar. Use this option if you get 'Argument list too long' error messages when make tries to archive the library. (Enabled by default.)]),
1111
[
1212
dnl If any form of the option is given, handle each case.
1313
if test "$enableval" = "no" ; then
@@ -29,8 +29,8 @@ AC_DEFUN([FLA_CHECK_ENABLE_MAX_ARG_LIST_HACK],
2929
],
3030
[
3131
dnl User did not specify whether to enable or disable the option.
32-
dnl Default behavior is to disable the option.
33-
fla_enable_max_arg_list_hack=no
32+
dnl Default behavior is to enable the option.
33+
fla_enable_max_arg_list_hack=yes
3434
]
3535
)
3636

configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,7 @@ Optional Features:
14691469
potential length of the argument list to ar. Use
14701470
this option if you get 'Argument list too long'
14711471
error messages when make tries to archive the
1472-
library. (Disabled by default.)
1472+
library. (Enabled by default.)
14731473
--enable-non-critical-code
14741474
Enable code that provides non-critical
14751475
functionality. This code has been identified as
@@ -6014,7 +6014,7 @@ if test "${enable_max_arg_list_hack+set}" = set; then :
60146014

60156015
else
60166016

6017-
fla_enable_max_arg_list_hack=no
6017+
fla_enable_max_arg_list_hack=yes
60186018

60196019

60206020
fi
@@ -6508,7 +6508,7 @@ $as_echo_n "checking for (guessing) OpenMP flags for ${CC_VENDOR}... " >&6; }
65086508

65096509
case ${CC_VENDOR} in
65106510
icc)
6511-
fla_c_openmp_flags='-qopenmp'
6511+
fla_c_openmp_flags='-openmp'
65126512
;;
65136513
gcc)
65146514
fla_c_openmp_flags='-fopenmp'

0 commit comments

Comments
 (0)