]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Move FreeBSD CFLAGS and LDFLAGS to configure
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Sat, 28 Jul 2018 13:50:30 +0000 (15:50 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Sat, 28 Jul 2018 13:52:19 +0000 (15:52 +0200)
Backport of commit 09c1e370b3084f7acb7c3777427670a69945368a.

.gitlab-ci.yml
configure.ac

index c9863a1c257324210bede458705e97041ebb13ed..d125e4a373ddbc305c23193d65c770988997021f 100644 (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
index 2c136526dffdfa80ca9f5929ee4b315404735926..44382e4f6c3bcd699d076217dec10a70c8d88abe 100644 (file)
@@ -216,9 +216,13 @@ else
       ;;
     ipv6:freebsd*)
       sysdesc=bsd-v6
+      CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+      LDFLAGS="$LDFLAGS -L/usr/local/lib"
       ;;
     ipv4:freebsd*)
       sysdesc=bsd
+      CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+      LDFLAGS="$LDFLAGS -L/usr/local/lib"
       ;;
     ipv6:dragonfly*)
       sysdesc=bsd-v6
@@ -419,4 +423,5 @@ AC_MSG_RESULT([        Debugging:           $enable_debug])
 AC_MSG_RESULT([        POSIX threads:          $enable_pthreads])
 AC_MSG_RESULT([        Routing protocols:      $protocols])
 AC_MSG_RESULT([        Client:                 $enable_client])
-rm -f $objdir/.*-stamp
\ No newline at end of file
+
+rm -f $objdir/.*-stamp