diff options
| author | Michael Forney <mforney@mforney.org> | 2020-06-05 03:00:39 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-06-05 03:11:11 -0700 |
| commit | 97fcca020e02950041fdf54d1b34d54151573e8a (patch) | |
| tree | b7f26c3120fdc8ed98a190036995ccad141cf4fa /pkg/sinit/gen.lua | |
| parent | fae924121b29597121e9bdbdb740fa05dfe4ecb0 (diff) | |
sinit: Set -std=c99
Diffstat (limited to 'pkg/sinit/gen.lua')
| -rw-r--r-- | pkg/sinit/gen.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/sinit/gen.lua b/pkg/sinit/gen.lua index b7299179..cf008d14 100644 --- a/pkg/sinit/gen.lua +++ b/pkg/sinit/gen.lua @@ -1,5 +1,6 @@ cflags{ - '-Wall', '-Wextra', + '-std=c99', '-Wall', '-Wextra', + '-D _POSIX_C_SOURCE=200809L', string.format([[-D 'PREFIX="%s"']], config.prefix), '-I $dir', } |
