### ImageMagick version

7.1.0-62

### Operating system

Linux

### Operating system, version and so on

bullseye 11 in kde

### Description

Downloaded from source
run .imei.sh and then... 


```
``......
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Exception.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Functions.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Geometry.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Image.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-ImageRef.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Montage.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Options.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Pixels.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-ResourceLimits.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-SecurityPolicy.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Statistic.lo
  CCLD     MagickCore/libMagickCore-7.Q16HDRI.la
/usr/bin/ld: /usr/local/lib/libfftw3.a(primes.o): warning: relocation against `fftw_power_mod' in read-only section `.text'
/usr/bin/ld: /usr/local/lib/libfftw3.a(assert.o): relocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:7178: MagickCore/libMagickCore-7.Q16HDRI.la] Error 1
make[1]: Leaving directory '/usr/local/src/imei/ImageMagick-7.1.0-62'
make: *** [Makefile:6211: all] Error 2
make  install-am
make[1]: Entering directory '/usr/local/src/imei/ImageMagick-7.1.0-62'
  CCLD     MagickCore/libMagickCore-7.Q16HDRI.la
/usr/bin/ld: /usr/local/lib/libfftw3.a(primes.o): warning: relocation against `fftw_power_mod' in read-only section `.text'
/usr/bin/ld: /usr/local/lib/libfftw3.a(assert.o): relocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:7178: MagickCore/libMagickCore-7.Q16HDRI.la] Error 1
make[1]: Leaving directory '/usr/local/src/imei/ImageMagick-7.1.0-62'
make: *** [Makefile:12734: install] Error 2
./imei.sh: γραμμή 891: /usr/local/bin/identify: does not exist``

```

how to change the script to recompile with -fPIC ?


### Steps to Reproduce

Downloaded from source
run .imei.sh and then... 

### Images

_No response_
how to change the imagemagic 7 script imei.sh in linux bullseye 11 to recompile with -fPIC ?
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : how to change the imagemagic 7 script imei.sh in linux bullseye 11 to recompile with -fPIC ?
Issue date:

--- start body ---
### ImageMagick version

7.1.0-62

### Operating system

Linux

### Operating system, version and so on

bullseye 11 in kde

### Description

Downloaded from source
run .imei.sh and then... 


```
``......
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Exception.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Functions.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Geometry.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Image.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-ImageRef.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Montage.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Options.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Pixels.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-ResourceLimits.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-SecurityPolicy.lo
  CXX      Magick++/lib/libMagick___7_Q16HDRI_la-Statistic.lo
  CCLD     MagickCore/libMagickCore-7.Q16HDRI.la
/usr/bin/ld: /usr/local/lib/libfftw3.a(primes.o): warning: relocation against `fftw_power_mod' in read-only section `.text'
/usr/bin/ld: /usr/local/lib/libfftw3.a(assert.o): relocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:7178: MagickCore/libMagickCore-7.Q16HDRI.la] Error 1
make[1]: Leaving directory '/usr/local/src/imei/ImageMagick-7.1.0-62'
make: *** [Makefile:6211: all] Error 2
make  install-am
make[1]: Entering directory '/usr/local/src/imei/ImageMagick-7.1.0-62'
  CCLD     MagickCore/libMagickCore-7.Q16HDRI.la
/usr/bin/ld: /usr/local/lib/libfftw3.a(primes.o): warning: relocation against `fftw_power_mod' in read-only section `.text'
/usr/bin/ld: /usr/local/lib/libfftw3.a(assert.o): relocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:7178: MagickCore/libMagickCore-7.Q16HDRI.la] Error 1
make[1]: Leaving directory '/usr/local/src/imei/ImageMagick-7.1.0-62'
make: *** [Makefile:12734: install] Error 2
./imei.sh: γραμμή 891: /usr/local/bin/identify: does not exist``

```

how to change the script to recompile with -fPIC ?


### Steps to Reproduce

Downloaded from source
run .imei.sh and then... 

### Images

_No response_
--- end body ---
