mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: make-libiberty: Build with -fPIC.
Since iberty is a static library, linking a PIC-enabled target to it requires it to also have been built with PIC. (The target is Dyninst in this case.) This `-fPIC' flag is appended to the default CFLAGS of `-O2 -g'. * gnu/packages/gcc.scm (make-libiberty)[arguments]: Adjust make-flags to add -fPIC to CFLAGS. Change-Id: I155045d05f4434cb68be933a95b7bc9fdec98818 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
ad6deff8bb
commit
fee669e2c2
1 changed files with 1 additions and 0 deletions
|
@ -1065,6 +1065,7 @@ (define (make-libiberty gcc)
|
|||
(name "libiberty")
|
||||
(arguments
|
||||
`(#:out-of-source? #t
|
||||
#:make-flags '("CFLAGS=-O2 -g -fPIC")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'chdir
|
||||
|
|
Loading…
Reference in a new issue