Ignore:
Timestamp:
May 2, 2009, 8:28:14 PM (10 years ago)
Author:
toby@…
Message:

actually, just enable the warning flags unconditionally; clang supports them too

File:
1 edited

Legend:

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

    r50540 r50541  
    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 @@
     1--- GNUmakefile.orig    2009-05-02 13:27:11.000000000 -0700
     2+++ GNUmakefile 2009-05-02 13:27:24.000000000 -0700
     3@@ -46,28 +46,26 @@
    44       osdep-unknown.c osdep-openbsd.c osdep-freebsd.c osdep-linux.c \
    55       osdep-darwin.c attributes.c
     
    1717 endif
    1818-ifeq (${CC},gcc)
    19 +ifneq (,$(findstring gcc,${CC}))
    2019 CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
    2120 CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
    2221 CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
    2322 CFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align
    24  endif
     23-endif
    2524 
    2625-LDFLAGS+=
     
    3837 ifeq ($(shell uname),AIX)
    3938 INCDIRS+= -I/usr/local/include/ncurses -Icompat
    40 @@ -103,7 +103,6 @@
     39@@ -103,7 +101,6 @@
    4140 endif
    4241 
     
    4645 CFLAGS+= -DNO_STRTONUM -DNO_SETRESUID -DNO_SETRESGID -DNO_SETPROCTITLE \
    4746          -DNO_QUEUE_H -DNO_TREE_H -DBROKEN_POLL
    48 @@ -137,8 +136,8 @@
     47@@ -137,8 +134,8 @@
    4948 install:
    5049        $(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
Note: See TracChangeset for help on using the changeset viewer.