summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-04-20 01:27:30 -0700
committerMichael Forney <mforney@mforney.org>2016-04-23 16:51:19 -0700
commitfec334257596fa06c94ef6139fe2d2736bf989e5 (patch)
tree8c086a9a665472bba8a854f05e58ec0713215159 /core
parent17d0d5faa5be137e3533c4228259199172089f92 (diff)
sbase, ubase: Disable -Wmaybe-uninitialized
Diffstat (limited to 'core')
-rw-r--r--core/sbase/gen.rc3
-rw-r--r--core/ubase/gen.rc3
2 files changed, 4 insertions, 2 deletions
diff --git a/core/sbase/gen.rc b/core/sbase/gen.rc
index 940618aa..47236b8b 100644
--- a/core/sbase/gen.rc
+++ b/core/sbase/gen.rc
@@ -1,9 +1,10 @@
cflags\
+ -std'='c99 -pedantic\
+ -Wall -Wno-maybe-uninitialized\
-D_DEFAULT_SOURCE\
-D_BSD_SOURCE\
-D_XOPEN_SOURCE'='700\
-D_FILE_OFFSET_BITS'='64\
- -std'='c99 -Wall -pedantic\
-I '$outdir'
lib libutil.a libutil/*.c
diff --git a/core/ubase/gen.rc b/core/ubase/gen.rc
index 06b89936..abc578be 100644
--- a/core/ubase/gen.rc
+++ b/core/ubase/gen.rc
@@ -1,8 +1,9 @@
cflags\
+ -std'='c99 -pedantic\
+ -Wall -Wextra -Wno-maybe-uninitialized\
-D_GNU_SOURCE\
-D_XOPEN_SOURCE'='700\
-D_FILE_OFFSET_BITS'='64\
- -std'='c99 -Wall -Wextra\
-I '$outdir'
build '$outdir/config.h' copy '$srcdir/config.def.h'