gnu: gcc: Build libsanitizer's bundled libbacktrace without -Werror.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Also patch libsanitizer/libbacktrace/Makefile.in.
This commit is contained in:
parent
b5616bc33d
commit
ec29907160
@ -246,7 +246,13 @@ where the OS part is overloaded to denote a specific ABI---into GCC
|
||||
;; 2.21's stdlib-bsearch.h. Remove -Werror.
|
||||
(substitute* "libbacktrace/configure"
|
||||
(("WARN_FLAGS=(.*)-Werror" _ flags)
|
||||
(string-append "WARN_FLAGS=" flags))))
|
||||
(string-append "WARN_FLAGS=" flags)))
|
||||
|
||||
(when (file-exists? "libsanitizer/libbacktrace")
|
||||
;; Same in libsanitizer's bundled copy (!) found in 4.9+.
|
||||
(substitute* "libsanitizer/libbacktrace/Makefile.in"
|
||||
(("-Werror")
|
||||
""))))
|
||||
|
||||
;; Add a RUNPATH to libstdc++.so so that it finds libgcc_s.
|
||||
;; See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32354>
|
||||
|
Loading…
Reference in New Issue
Block a user