aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-06-17 08:53:29 +0200
committerGuido Günther <agx@sigxcpu.org>2011-06-17 08:53:29 +0200
commit804c3aa900eb4fb3a379efab43224aff7b9a30cc (patch)
tree23b183e384ef6926aa049084a0a3e263c296960a
parent7154bceaa792c757a4e860a201f7ee48041e63e0 (diff)
Use -Wextra
-rw-r--r--arclib/Makefile2
-rw-r--r--ext2load/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/arclib/Makefile b/arclib/Makefile
index 4a53c26..0bf42a7 100644
--- a/arclib/Makefile
+++ b/arclib/Makefile
@@ -1,7 +1,7 @@
#
# Copyright 1999 Silicon Graphics, Inc.
#
-CFLAGS += -O2 -Werror -Wall -mno-abicalls -G 0 -fno-pic
+CFLAGS += -O2 -Werror -Wextra -Wall -mno-abicalls -G 0 -fno-pic
TARGETS = libarc.a
OBJECTS = arc.o stdio.o stdlib.o string.o
diff --git a/ext2load/Makefile b/ext2load/Makefile
index f39ea51..932582b 100644
--- a/ext2load/Makefile
+++ b/ext2load/Makefile
@@ -20,7 +20,7 @@ LIBS = $(EXT2LIB) $(ARCLIB)
TARGETS = ext2load
CFLAGS = -O2 -I$(COMMONDIR) -I$(ARCINCLUDEDIR) -I$(E2FSINCLUDEDIR) \
- -W -Wall -mno-abicalls -G 0 -fno-pic \
+ -Wextra -Wall -mno-abicalls -G 0 -fno-pic \
-DSUBARCH=${SUBARCH} -fno-strict-aliasing
# uncomment for debugging