From 804c3aa900eb4fb3a379efab43224aff7b9a30cc Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 17 Jun 2011 08:53:29 +0200 Subject: Use -Wextra --- arclib/Makefile | 2 +- ext2load/Makefile | 2 +- 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 -- cgit v1.2.3