Skip to content

Commit 35a9679

Browse files
committed
guix: Check mingw symbols, improve SSP fix docs
1 parent 449d8fe commit 35a9679

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

contrib/guix/libexec/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export PATH="${BASEPREFIX}/${HOST}/native/bin:${PATH}"
211211
make -C src --jobs=1 check-security ${V:+V=1}
212212

213213
case "$HOST" in
214-
*linux*)
214+
*linux*|*mingw*)
215215
# Check that executables only contain allowed gcc, glibc and libstdc++
216216
# version symbols for Linux distro back-compatibility.
217217
make -C src --jobs=1 check-symbols ${V:+V=1}

contrib/guix/manifest.scm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626

2727
(define (make-ssp-fixed-gcc xgcc)
2828
"Given a XGCC package, return a modified package that uses the SSP function
29-
from glibc instead of from libssp.so. Taken from:
29+
from glibc instead of from libssp.so. Our `symbol-check' script will complain if
30+
we link against libssp.so, and thus will ensure that this works properly.
31+
32+
Taken from:
3033
http://www.linuxfromscratch.org/hlfs/view/development/chapter05/gcc-pass1.html"
3134
(package
3235
(inherit xgcc)

0 commit comments

Comments
 (0)