Don't need linker magic anymore.

This commit is contained in:
Nicholas Marriott 2009-06-25 16:25:55 +00:00
parent 6cde05147e
commit 8df98d1f5b
2 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.104 2009-05-16 21:55:54 nicm Exp $ # $Id: GNUmakefile,v 1.105 2009-06-25 16:25:55 nicm Exp $
.PHONY: clean .PHONY: clean
@ -20,9 +20,7 @@ CPPFLAGS:= -iquote. $(CPPFLAGS)
endif endif
ifdef FDEBUG ifdef FDEBUG
LDFLAGS+= -rdynamic
CFLAGS+= -g -ggdb -DDEBUG CFLAGS+= -g -ggdb -DDEBUG
LIBS+= -ldl
CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.139 2009-05-16 21:55:54 nicm Exp $ # $Id: Makefile,v 1.140 2009-06-25 16:25:55 nicm Exp $
.SUFFIXES: .c .o .SUFFIXES: .c .o
.PHONY: clean .PHONY: clean
@ -22,7 +22,6 @@ CPPFLAGS:= -iquote. -I/usr/local/include ${CPPFLAGS}
.endif .endif
.ifdef FDEBUG .ifdef FDEBUG
LDFLAGS+= -Wl,-E
CFLAGS+= -g -ggdb -DDEBUG CFLAGS+= -g -ggdb -DDEBUG
CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations