Remove -fwritable-strings and add -Wall compiler options
r1508 | dcl | 2007-02-19 12:29:14 +1100 (Mon, 19 Feb 2007) | 2 lines
This commit is contained in:
@@ -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 = ./../..
|
||||
|
||||
Reference in New Issue
Block a user