mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Some Linuxes/gcc versions hide LLONG_MAX/MIN unless the compiler is told to use
C99, so use -std=c99 on Linux.
This commit is contained in:
parent
52f8578984
commit
5d13704e04
4
configure
vendored
4
configure
vendored
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $Id: configure,v 1.18 2009-07-14 06:47:12 nicm Exp $
|
# $Id: configure,v 1.19 2009-07-31 10:30:40 nicm Exp $
|
||||||
|
|
||||||
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
|
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ SRCS+= osdep-linux.c \
|
|||||||
compat/strtonum.c \
|
compat/strtonum.c \
|
||||||
compat/getopt.c \
|
compat/getopt.c \
|
||||||
compat/vis.c
|
compat/vis.c
|
||||||
CFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
|
CFLAGS+= -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE
|
||||||
LIBS+= -lcrypt -lutil
|
LIBS+= -lcrypt -lutil
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user