summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2012-09-09 19:19:15 +0000
committerPaul Smith <psmith@gnu.org>2012-09-09 19:19:15 +0000
commit30b2e4207d2f41c64e843959119a03307e06aa9a (patch)
treec858ba345b9986ce82e3bde71a0f92a3d20aca3d /read.c
parent7f5309ebb4e2b3c57035a3b12f72d2f26cfee91b (diff)
downloadgunmake-30b2e4207d2f41c64e843959119a03307e06aa9a.tar.gz
When .POSIX: is specified use POSIX-standard macro values by default.
Diffstat (limited to 'read.c')
-rw-r--r--read.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/read.c b/read.c
index f075ef5..7f6939e 100644
--- a/read.c
+++ b/read.c
@@ -1962,6 +1962,13 @@ record_files (struct nameseq *filenames, const char *pattern,
{
posix_pedantic = 1;
define_variable_cname (".SHELLFLAGS", "-ec", o_default, 0);
+ /* These default values are based on IEEE Std 1003.1-2008. */
+ define_variable_cname ("ARFLAGS", "-rv", o_default, 0);
+ define_variable_cname ("CC", "c99", o_default, 0);
+ define_variable_cname ("CFLAGS", "-O", o_default, 0);
+ define_variable_cname ("FC", "fort77", o_default, 0);
+ define_variable_cname ("FFLAGS", "-O 1", o_default, 0);
+ define_variable_cname ("SCCSGETFLAGS", "-s", o_default, 0);
}
else if (streq (name, ".SECONDEXPANSION"))
second_expansion = 1;