travis update - have a build with and without -fno-common
This commit is contained in:
@@ -2,6 +2,15 @@ language: c
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- name: linux-xenial-gcc
|
- name: linux-xenial-gcc
|
||||||
|
os: linux
|
||||||
|
env: HINTS=linux LUA_VERSION=5.3.5
|
||||||
|
compiler: gcc
|
||||||
|
script:
|
||||||
|
- cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../
|
||||||
|
- make fetch-lua
|
||||||
|
- test -d "lib/lua-$LUA_VERSION/src" || exit 0
|
||||||
|
- make install
|
||||||
|
- name: linux-nocommon-xenial-gcc
|
||||||
os: linux
|
os: linux
|
||||||
env: HINTS=linux-travis LUA_VERSION=5.3.5
|
env: HINTS=linux-travis LUA_VERSION=5.3.5
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
|
|||||||
@@ -35,6 +35,11 @@ CFLAGS+=-DCURSES_GRAPHICS
|
|||||||
#CFLAGS+=-DMSGHANDLER
|
#CFLAGS+=-DMSGHANDLER
|
||||||
#CFLAGS+=-DTTY_TILES_ESCCODES
|
#CFLAGS+=-DTTY_TILES_ESCCODES
|
||||||
|
|
||||||
|
# when building liblua.a, avoid warning that use of tmpnam() should be
|
||||||
|
# replaced by mkstemp(); the lua code doesn't use nethack's config.h so
|
||||||
|
# this needs to be passed via make rather than defined in unixconf.h
|
||||||
|
SYSCFLAGS=-DLUA_USE_POSIX
|
||||||
|
|
||||||
LINK=$(CC)
|
LINK=$(CC)
|
||||||
# Only needed for GLIBC stack trace:
|
# Only needed for GLIBC stack trace:
|
||||||
LFLAGS=-rdynamic
|
LFLAGS=-rdynamic
|
||||||
|
|||||||
Reference in New Issue
Block a user