[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47251: [core-updates] [patch] gnu: python: Enable optimizations.
From: |
Julien Lepiller |
Subject: |
bug#47251: [core-updates] [patch] gnu: python: Enable optimizations. |
Date: |
Fri, 11 Jun 2021 03:03:33 +0200 |
Le Sun, 06 Jun 2021 14:34:31 +0200,
Ludovic Courtès <ludo@gnu.org> a écrit :
>
> > + "CFLAGS=-fno-semantic-interposition"
> > (string-append "LDFLAGS=-Wl,-rpath="
> > - (assoc-ref %outputs "out") "/lib"))
> > + (assoc-ref %outputs "out") "/lib"
> > + " -fno-semantic-interposition"))
>
> Could you add a comment for ‘-fno-semantic-interposition’? Also,
> please make sure that setting CFLAGS does not override useful
> defaults (for Autoconf-based build systems, CFLAGS defaults to ‘-O2
> -g’ and overriding it means you lost both -O2 and -g; if we lose
> ‘-g’, ‘--with-debug-info’ won’t have any effect).
>
With the patch, python still builds with -g -O3.
Pushed as 99d450b085b7bf44d669093f6c9964391ce1b451 to
e4aa346d57f61956626032d0d1dfca6b3c96e06a to core-updates, thanks!