[BACK]Return to patch-pfe_configure CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / pfe / patches

File: [cvs.NetBSD.org] / pkgsrc / lang / pfe / patches / patch-pfe_configure (download)

Revision 1.1, Fri Oct 12 15:29:35 2012 UTC (9 years, 10 months ago) by marino
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, HEAD

lang/pfe: Fix linker switch typo

Change "-W," to "-Wl," in configure script.
GCC 4.7.2 doesn't let the typo pass like order GCCs do.

$NetBSD: patch-pfe_configure,v 1.1 2012/10/12 15:29:35 marino Exp $

Fix typo "-W," -> "-Wl,".  GCC 4.7.2 doesn't allow this to pass as older
GCCs do.

--- pfe/configure.orig	2009-10-17 17:50:54.000000000 +0000
+++ pfe/configure
@@ -20482,7 +20482,7 @@ opt_level="$WITHVAL_OPT"
 if test "$GCC" = "yes" ; then
    OPTIM="-O$opt_level"
    DEBUG=" -W -Wshadow"
-   LDFLAGS="$LDFLAGS -W,--warn-common" # -Wl,-S
+   LDFLAGS="$LDFLAGS -Wl,--warn-common" # -Wl,-S
    # GCC_WARN="$GCC_WARN -Wtraditional"
    # GCC_WARN="$GCC_WARN -Wconversion"
 elif test ".$am_cv_CC_dependencies_compiler_type" = ".aix" ; then