mirror of
https://github.com/tmux/tmux.git
synced 2024-11-18 02:18:53 +00: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
|
.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
|
||||||
|
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
|
.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
|
||||||
|
Loading…
Reference in New Issue
Block a user