https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103364
--- Comment #14 from Sarah Julia Kriesch <sarah.kriesch at opensuse dot org> --- We are exporting all the flags and start the build process with the following: CFLAGS='-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' [ 34s] + export CFLAGS [ 34s] + CXXFLAGS='-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' [ 34s] + export CXXFLAGS [ 34s] + FFLAGS='-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables ' [ 34s] + export FFLAGS [ 34s] + FCFLAGS='-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables ' [ 34s] + export FCFLAGS [ 34s] + LDFLAGS='-flto=auto -ffat-lto-objects' [ 34s] + export LDFLAGS [ 34s] + ./configure --host=s390x-suse-linux-gnu --build=s390x-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --bindir=/usr/lib/postgresql14/bin --libdir=/usr/lib/postgresql14/lib64 --includedir=/usr/include/pgsql --datadir=/usr/share/postgresql14 --docdir=/usr/share/doc/packages/postgresql14 --mandir=/usr/share/man --disable-rpath --enable-nls --enable-thread-safety --enable-integer-datetimes --with-python --with-perl --with-tcl --with-tclconfig=/usr/lib64 --with-pam --with-uuid=e2fs --with-libxml --with-libxslt --with-systemd --with-selinux --with-icu --with-llvm --with-openssl --with-ldap --with-gssapi --with-krb5 --with-system-tzdata=/usr/share/zoneinfo [ 34s] configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-dependency-tracking, --with-krb5