diff options
author | Paul Smith <psmith@gnu.org> | 2012-09-09 19:19:15 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2012-09-09 19:19:15 +0000 |
commit | 30b2e4207d2f41c64e843959119a03307e06aa9a (patch) | |
tree | c858ba345b9986ce82e3bde71a0f92a3d20aca3d /read.c | |
parent | 7f5309ebb4e2b3c57035a3b12f72d2f26cfee91b (diff) | |
download | gunmake-30b2e4207d2f41c64e843959119a03307e06aa9a.tar.gz |
When .POSIX: is specified use POSIX-standard macro values by default.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; |