]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
.gitlab-ci.yml: export LDFLAGS throughout the FreeBSD build
authorDaiki Ueno <dueno@redhat.com>
Sun, 19 Jan 2020 11:13:48 +0000 (12:13 +0100)
committerDaiki Ueno <dueno@redhat.com>
Thu, 23 Jan 2020 06:07:26 +0000 (07:07 +0100)
Otherwise the build process wouldn't be able to find -lgmp.

Signed-off-by: Daiki Ueno <dueno@redhat.com>
.gitlab-ci.yml

index 26a36ce3dc1957ef3a32b154c16038de645c1562..cbc9303fa09ec19950158f3d93b40542b6bb353d 100644 (file)
@@ -7,7 +7,7 @@ stages:
 # name to allow expiration of old caches.
 
 cache:
-  key: "$CI_JOB_NAME-ver13"
+  key: "$CI_JOB_NAME-ver14"
   paths:
     - cache/
 
@@ -436,7 +436,8 @@ FreeBSD.x86_64:
   script:
   - export CC="ccache clang"
   - ./bootstrap
-  - LIBS="-L/usr/local/lib" ./configure --disable-full-test-suite
+  - export LDFLAGS="-L/usr/local/lib"
+  - ./configure --disable-full-test-suite
     --cache-file cache/config.cache --disable-gcc-warnings --disable-guile --disable-doc
   - gmake -j$(sysctl hw.ncpu | awk '{print $2}')
   - gmake check -j$(sysctl hw.ncpu | awk '{print $2}')