---------- Forwarded message ---------- From: <[email protected]> Date: Sun, Feb 12, 2012 at 8:58 AM Subject: [blfs-book] r9384 - trunk/BOOK/multimedia/libdriv To: [email protected]
Author: andy Date: 2012-02-12 09:58:20 -0700 (Sun, 12 Feb 2012) New Revision: 9384 Modified: trunk/BOOK/multimedia/libdriv/liba52.xml Log: added -fPIC to a52dec's CFLAGS Modified: trunk/BOOK/multimedia/libdriv/liba52.xml =================================================================== --- trunk/BOOK/multimedia/libdriv/liba52.xml 2012-02-12 05:06:59 UTC (rev 9383) +++ trunk/BOOK/multimedia/libdriv/liba52.xml 2012-02-12 16:58:20 UTC (rev 9384) -<screen><userinput>./configure --prefix=/usr --enable-shared && +<screen><userinput>./configure --prefix=/usr --enable-shared --disable-static \ + CFLAGS="-g -O2 $([ $(arch) = x86_64 ] && echo -fPIC)" && make</userinput></screen> + + <para><parameter>CFLAGS="-g -O2 ...</parameter>: This sets CFLAGS to -g -O2 + (which is the default) but then on x86_64 adds -fPIC. This is needed to + compile <application>liba52</application> on x86_64.</para> + I have been using sed -i "s/-prefer-non-pic/-prefer-pic/" configure on my own build. (Just an alternative suggestion, most likely the CFLAGS way is better) -- Nathan Coulson (conathan) ------ Location: British Columbia, Canada Timezone: PST (-8) Webpage: http://www.nathancoulson.com -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
