]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
.gitlab-ci.yml: use static libasan
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 6 Nov 2015 14:02:51 +0000 (15:02 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 6 Nov 2015 14:02:55 +0000 (15:02 +0100)
This prevents issues with tests which use LD_PRELOAD.

.gitlab-ci.yml

index 69e64a855a8a7fa5a2dd59d00e09226a72f421a7..a640033ea5fbcaf55392b7b43032b118267b3e5c 100644 (file)
@@ -13,7 +13,7 @@ Build minimal:
   - tags
 Build and Check with valgrind:
   script:
-  - git submodule update --init && make autoreconf && LDFLAGS="-L/usr/local/lib" ./configure
+  - git submodule update --init && make autoreconf && ./configure
     --disable-non-suiteb-curves --with-included-libtasn1 --disable-doc && make -j4 && make check -j4
   - cat tests/test-suite.log
   tags:
@@ -23,7 +23,7 @@ Build and Check with valgrind:
 Build and Check with asan:
   script:
   - git submodule update --init && make autoreconf &&CFLAGS="-fsanitize=address -g
-    -O2" LDFLAGS="-lasan" ./configure --disable-doc --with-included-libtasn1 --disable-valgrind-tests --disable-non-suiteb-curves
+    -O2" LDFLAGS="-static-libasan" ./configure --disable-doc --with-included-libtasn1 --disable-valgrind-tests --disable-non-suiteb-curves
     && make -j4 && make check -j4
   - cat tests/test-suite.log
   tags: