diff options
author | van Hauser <vh@thc.org> | 2019-12-05 16:10:39 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2019-12-05 16:10:39 +0100 |
commit | 8bc0b646f0f6ede198e1e25d3c6e721b113d6865 (patch) | |
tree | 184334d0008b813afcc4640992d838597a26da9a | |
parent | 65bee44d6d9de9c67473ed8d01d1a9be8ec49dc4 (diff) | |
download | afl++-8bc0b646f0f6ede198e1e25d3c6e721b113d6865.tar.gz |
more travis
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | Makefile | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 1c744df2..bc6b33bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,7 +38,7 @@ before_install: - echo Testing on $NAME - if [ "$TRAVIS_OS_NAME" = "osx" ]; then wget "$LINK""$NAME".tar.xz ; export LLVM_CONFIG=`pwd`/"$NAME" ; tar xJf "$NAME".tar.xz ; fi - if [ "$MODERN" = "yes" ]; then sudo apt update ; sudo apt upgrade ; sudo apt install -y libtool libtool-bin automake bison libglib2.0 build-essential clang gcc-"$GCC" gcc-"$GCC"-plugin-dev libc++-"$GCC"-dev ; fi - - if [ "$MODERN" = "no" ]; then sudo apt update ; sudo apt install -y libtool $EXTRA automake bison libglib2.0 build-essential gcc-"$GCC" gcc-"$GCC"-plugin-dev libc++-dev ; fi + - if [ "$MODERN" = "no" ]; then sudo apt update ; sudo apt install -y libtool $EXTRA libpixman-1-dev automake bison libglib2.0 build-essential gcc-"$GCC" gcc-"$GCC"-plugin-dev libc++-dev ; fi script: - gcc -v diff --git a/Makefile b/Makefile index f0496287..880dfc67 100644 --- a/Makefile +++ b/Makefile @@ -39,17 +39,17 @@ CFLAGS += -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I include/ \ AFL_FUZZ_FILES = $(wildcard src/afl-fuzz*.c) -ifneq "($filter %3.7m, $(shell python3.7m-config --includes)" "" +ifneq "($filter %3.7m, $(shell python3.7m-config --includes 2>/dev/null)" "" PYTHON_INCLUDE ?= $(shell python3.7m-config --includes) PYTHON_LIB ?= $(shell python3.7m-config --ldflags) PYTHON_VERSION = 3.7m else - ifneq "($filter %3.7, $(shell python3.7-config --includes)" "" + ifneq "($filter %3.7, $(shell python3.7-config --includes) 2> /dev/null" "" PYTHON_INCLUDE ?= $(shell python3.7-config --includes) PYTHON_LIB ?= $(shell python3.7-config --ldflags) PYTHON_VERSION = 3.7 else - ifneq "($filter %2.7, $(shell python2.7-config --includes)" "" + ifneq "($filter %2.7, $(shell python2.7-config --includes) 2> /dev/null" "" PYTHON_INCLUDE ?= $(shell python2.7-config --includes) PYTHON_LIB ?= $(shell python2.7-config --ldflags) PYTHON_VERSION = 2.7 |