From a0440e66f828472b5077ab780b7505ca06162765 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Mon, 19 Feb 2007 12:29:14 +1100 Subject: [PATCH] Remove -fwritable-strings and add -Wall compiler options r1508 | dcl | 2007-02-19 12:29:14 +1100 (Mon, 19 Feb 2007) | 2 lines --- site_ansto/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site_ansto/Makefile b/site_ansto/Makefile index dfd788cc..41ed9294 100644 --- a/site_ansto/Makefile +++ b/site_ansto/Makefile @@ -16,7 +16,7 @@ default: all EXTRA=nintf.o PSI_CLEAN_MATRIX = rm -f ../*.o; $(MAKE) -C ../matrix $(MFLAGS) clean PSI_CFLAGS = -I./ -I$(HDFROOT)/include -DHDF5 -DNXXML\ - -fwritable-strings -DCYGNUS -DNONINTF -g $(DFORTIFY) + -DCYGNUS -DNONINTF -g $(DFORTIFY) -Wall PSI_SLIBS = matrix/libmatrix.a PSI_LIBS = -L$(HDFROOT)/lib $(NILIB)\ -ltcl8.4 $(HDFROOT)/lib/libhdf5.a \ @@ -31,7 +31,7 @@ PSI_LIBS = -L$(HDFROOT)/lib $(NILIB)\ # ANSTO rules and variables CC = gcc INCFLAGS = -Ihardsup -I.. -I/opt/gnome/include -CFLAGS = -g $(INCFLAGS) -Wno-unused -Wno-comment -Wno-switch -Werror +CFLAGS = -g $(INCFLAGS) -Wno-unused -Wno-comment -Wno-switch -Wall HDFROOT=/usr/local SRC = ./../..