mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-01-29 02:20:01 +00:00
* src/default.c (default_variables) [AIX]: [SV 59096] Fix ARFLAGS
Reported by Dmitry Goncharov <dgoncharov@users.sf.net>, with a patch changing the pattern rule for building archives. I decided to change the default value of ARFLAGS on AIX instead.
This commit is contained in:
parent
c01222c018
commit
0e020bbc24
2 changed files with 6 additions and 2 deletions
|
@ -518,7 +518,12 @@ static const char *default_variables[] =
|
|||
#else /* !VMS */
|
||||
|
||||
"AR", "ar",
|
||||
"ARFLAGS", "rv",
|
||||
#ifdef _AIX
|
||||
/* AIX requires object file format specification: choose -Xany. */
|
||||
"ARFLAGS", "-Xany -rv",
|
||||
#else
|
||||
"ARFLAGS", "-rv",
|
||||
#endif
|
||||
"AS", "as",
|
||||
#ifdef GCC_IS_NATIVE
|
||||
"CC", "gcc",
|
||||
|
|
|
@ -1881,7 +1881,6 @@ static void check_specials (const struct nameseq* files, int set_default)
|
|||
/* These default values are based on IEEE Std 1003.1-2008.
|
||||
It requires '-O 1' for [CF]FLAGS, but GCC doesn't allow
|
||||
space between -O and the number so omit it here. */
|
||||
define_variable_cname ("ARFLAGS", "-rv", o_default, 0);
|
||||
define_variable_cname ("CC", "c99", o_default, 0);
|
||||
define_variable_cname ("CFLAGS", "-O1", o_default, 0);
|
||||
define_variable_cname ("FC", "fort77", o_default, 0);
|
||||
|
|
Loading…
Reference in a new issue