[Libreoffice] LDFLAGS break configure

Andreas Radke a.radke at arcor.de
Thu Oct 7 09:15:35 PDT 2010


ArchLinux has preset LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed". I
have to unset LDFLAGS to pass configure. It breaks build:

PROPAGATED_ARGS=' '\''--with-distro=ArchLinux'\''
'\''--with-build-version=3.2.99.1 ArchLinux build-2 (ooo330-m7)'\''
'\''--without-git'\'' '\''--with-srcdir=/build/src'\''
'\''--with-max-jobs=5'\''
'\''--with-installed-libreoffice-dirname=libreoffice'\''
'\''--prefix=/usr'\'' '\''--exec-prefix=/usr'\''
'\''--sysconfdir=/etc'\''
'\''--with-docdir=/usr/share/doc/packages/libreoffice'\''
'\''--mandir=/usr/share/man'\'' '\''--with-lang='\''
'\''--with-dict=ALL'\'' '\''--with-binsuffix=no'\''
'\''--enable-cairo'\'' '\''--enable-crashdump'\''
'\''--enable-evolution2'\'' '\''--enable-graphite'\''
'\''--disable-gio'\'' '\''--disable-kde'\'' '\''--enable-kde4'\''
'\''--enable-ldap'\'' '\''--enable-lockdown'\''
'\''--enable-minimizer'\'' '\''--enable-odk'\'' '\''--enable-opengl'\''
'\''--enable-pdfimport'\'' '\''--enable-presenter-console'\''
'\''--enable-presenter-extra-ui'\'' '\''--enable-report-builder'\''
'\''--enable-wiki-publisher'\'' '\''--enable-ogltrans'\''
'\''--without-fonts'\'' '\''--without-afms'\'' '\''--without-ppds'\''
'\''--without-system-agg'\'' '\''--without-system-libwps'\''
'\''--without-system-mdds'\'' '\''--with-system-cppunit'\''
'\''--with-system-libwpg'\'' '\''--with-system-redland'\''
'\''--without-system-saxon'\'' '\''--with-openldap'\''
'\''--with-ant-home=/usr/share/java/apache-ant'\''
'\''--with-system-boost'\'' '\''--with-system-cairo'\''
'\''--with-system-libs'\'' '\''--with-system-mythes'\''
'\''--with-system-unixodbc-headers'\''
'\''--with-system-xrender-headers'\'' '\''--with-system-headers'\''
'\''--with-alloc=system'\'' '\''--with-system-lucene'\''
'\''--with-lucene-core-jar=/usr/share/java/lucene-core.jar'\''
'\''--with-lucene-analyzers-jar=/usr/share/java/lucene-analyzers.jar'\''
'\''--without-stlport'\'' '\''LDFLAGS=-Wl,--hash-style=gnu
-Wl,--as-needed'\'''

...

configure: error: unrecognized option: `-Wl,--as-needed'
Try `./configure --help' for more information
make: *** [stamp/build] Error 1

This didn't happen in last go-oo releases. Any idea?

-Andy


More information about the LibreOffice mailing list