summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'