Ignore:
Timestamp:
May 2, 2009, 8:22:59 PM (11 years ago)
Author:
toby@…
Message:

fix gcc check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/tmux/files/GNUmakefile.diff

    r49988 r50540  
    1 --- GNUmakefile.orig    2008-09-25 23:45:25.000000000 -0700
    2 +++ GNUmakefile 2008-11-29 10:08:06.000000000 -0800
    3 @@ -46,9 +46,9 @@
     1--- GNUmakefile.orig    2009-05-02 13:20:45.000000000 -0700
     2+++ GNUmakefile 2009-05-02 13:21:54.000000000 -0700
     3@@ -46,28 +46,28 @@
    44       osdep-unknown.c osdep-openbsd.c osdep-freebsd.c osdep-linux.c \
    55       osdep-darwin.c attributes.c
     
    1414 CFLAGS+= -g -ggdb -DDEBUG
    1515 LDFLAGS+= -rdynamic
    16 @@ -61,13 +61,13 @@
     16 LIBS+= -ldl
     17 endif
     18-ifeq (${CC},gcc)
     19+ifneq (,$(findstring gcc,${CC}))
     20 CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
     21 CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
     22 CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
    1723 CFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align
    1824 endif
     
    4046 CFLAGS+= -DNO_STRTONUM -DNO_SETRESUID -DNO_SETRESGID -DNO_SETPROCTITLE \
    4147          -DNO_QUEUE_H -DNO_TREE_H -DBROKEN_POLL
    42 @@ -137,8 +137,8 @@
     48@@ -137,8 +136,8 @@
    4349 install:
    4450        $(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
Note: See TracChangeset for help on using the changeset viewer.