mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-12 17:08:14 +01:00
Don't need linker magic anymore.
This commit is contained in:
parent
6cde05147e
commit
8df98d1f5b
@ -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
|
||||
|
||||
@ -20,9 +20,7 @@ CPPFLAGS:= -iquote. $(CPPFLAGS)
|
||||
endif
|
||||
|
||||
ifdef FDEBUG
|
||||
LDFLAGS+= -rdynamic
|
||||
CFLAGS+= -g -ggdb -DDEBUG
|
||||
LIBS+= -ldl
|
||||
CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
|
||||
CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
|
||||
CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
|
||||
|
3
Makefile
3
Makefile
@ -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
|
||||
.PHONY: clean
|
||||
@ -22,7 +22,6 @@ CPPFLAGS:= -iquote. -I/usr/local/include ${CPPFLAGS}
|
||||
.endif
|
||||
|
||||
.ifdef FDEBUG
|
||||
LDFLAGS+= -Wl,-E
|
||||
CFLAGS+= -g -ggdb -DDEBUG
|
||||
CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
|
||||
CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
|
||||
|
Loading…
Reference in New Issue
Block a user