unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#50517] [PATCH core-updates-frozen] gnu: psm: Fix building with GCC 10.
@ 2021-09-11  8:46 Felix Gruber
  2021-09-11  9:23 ` bug#50517: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Gruber @ 2021-09-11  8:46 UTC (permalink / raw)
  To: 50517; +Cc: Felix Gruber

* gnu/packages/linux.scm (psm)[arguments]: Pass '-fcommon' to CFLAGS.
I had to copy all the CFLAGS that were originally defined by the
Makefile as they were otherwise all replaced by '-fcommon'.
---
 gnu/packages/linux.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1305a80f56..122c2773fb 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -56,6 +56,7 @@
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
 ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
+;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -7256,6 +7257,11 @@ libraries, which are often integrated directly into libfabric.")
     (arguments
      '(#:make-flags `("PSM_USE_SYS_UUID=1" "CC=gcc" "WERROR="
                       ,(string-append "INSTALL_PREFIX=" %output)
+                      ,(string-append "CFLAGS=-Wall -fpic -fPIC -D_GNU_SOURCE"
+                                      " -funwind-tables -O3 -g3"
+                                      " -DPSM_USE_SYS_UUID"
+                                      " -Wno-strict-aliasing -DNVALGRIND"
+                                      " -fcommon")
                       ,(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
        #:tests? #f
        #:phases (modify-phases %standard-phases
-- 
2.30.2





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#50517: [PATCH core-updates-frozen] gnu: psm: Fix building with GCC 10.
  2021-09-11  8:46 [bug#50517] [PATCH core-updates-frozen] gnu: psm: Fix building with GCC 10 Felix Gruber
@ 2021-09-11  9:23 ` Guillaume Le Vaillant
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2021-09-11  9:23 UTC (permalink / raw)
  To: Felix Gruber; +Cc: 50517-done

[-- Attachment #1: Type: text/plain, Size: 66 bytes --]

Patch pushed as abe4bdad800589a84d75903d5b85a1d798a6924a.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-11  9:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-11  8:46 [bug#50517] [PATCH core-updates-frozen] gnu: psm: Fix building with GCC 10 Felix Gruber
2021-09-11  9:23 ` bug#50517: " Guillaume Le Vaillant

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).