Moved freebsd cflags and ldflags to configure

This commit is contained in:
Jan Maria Matejka 2018-01-09 16:46:00 +01:00
parent 94f9be80c3
commit 09c1e370b3
2 changed files with 2 additions and 6 deletions

View file

@ -211,9 +211,6 @@ docker_ubuntu-16_04-amd64:
# TODO We want to copy these BSDs to our own virtual machines, to make sure someone doesn't update them by accident.
.freebsd-11-i386: &freebsd-11-i386_env
variables:
CPPFLAGS: "-I/usr/local/include"
LDFLAGS: "-L/usr/local/lib"
tags:
- freebsd
- i386
@ -223,9 +220,6 @@ docker_ubuntu-16_04-amd64:
#- tags
.freebsd-11-amd64: &freebsd-11-amd64_env
variables:
CPPFLAGS: "-I/usr/local/include"
LDFLAGS: "-L/usr/local/lib"
tags:
- freebsd
- amd64

View file

@ -181,6 +181,8 @@ else
;;
freebsd*)
sysdesc=bsd
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
;;
kfreebsd*)
sysdesc=bsd