travis update - have a build with and without -fno-common

This commit is contained in:
nhmall
2020-05-18 22:49:05 -04:00
parent ee41403af2
commit 98ba1bdf20
2 changed files with 14 additions and 0 deletions

View File

@@ -2,6 +2,15 @@ language: c
matrix:
include:
- 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
env: HINTS=linux-travis LUA_VERSION=5.3.5
compiler: gcc

View File

@@ -35,6 +35,11 @@ CFLAGS+=-DCURSES_GRAPHICS
#CFLAGS+=-DMSGHANDLER
#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)
# Only needed for GLIBC stack trace:
LFLAGS=-rdynamic