From 6e3ecad6ca547c1a03d62b80be3eac2a0206d52e Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 14 Jun 2014 15:58:23 +0200 Subject: gnu: make-bootstrap: Make sure %gcc-stripped binaries are usable. * gnu/packages/make-bootstrap.scm (%gcc-stripped): When (%current-target-system) is false, run gcc, g++, and cpp with --version. --- gnu/packages/make-bootstrap.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm index a9b8457234..2808bebee3 100644 --- a/gnu/packages/make-bootstrap.scm +++ b/gnu/packages/make-bootstrap.scm @@ -485,7 +485,14 @@ for `sh' in $PATH, and without nscd, and with static NSS modules." ;; (‘genchecksum’, ‘gcc-nm’, etc.) rely on C++ headers. (copy-recursively (string-append gcc "/include/c++") (string-append includedir "/c++")) - #t)))) + + ;; For native builds, check whether the binaries actually work. + ,(if (%current-target-system) + '#t + '(every (lambda (prog) + (zero? (system* (string-append gcc "/bin/" prog) + "--version"))) + '("gcc" "g++" "cpp"))))))) (inputs `(("gcc" ,%gcc-static))))) (define %guile-static -- cgit v1.2.3 8bfced859bc636752b03384f7f380398f71'>treecommitdiff
path: root/gnu/build/chromium-extension.scm
AgeCommit message (Expand)Author
2020-11-08Add (gnu build chromium-extension)....Marius Bakke