Changeset 2618

Show
Ignore:
Timestamp:
05/22/07 19:43:38 (2 years ago)
Author:
tg
Message:

disable C++ bindings for pcre – they link against libstdc++-v3 not uClibc++

My thoughts:

1. we should probably really disable building libstdc++ in toolchain
2. we *must* avoid the plus sign in pathnames, otherwise libtool will

throw error messages such as
| grep: repetition-operator operand invalid
| usage: grep [-abcEFGHhIiLlnoPqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
| [-e pattern] [-f file] [--binary-files=value] [--context[=num]]
| [--line-buffered] [pattern] [file ...]
when trying to link against libraries placed in such paths.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/pcre/Makefile

    r2260 r2618  
    99PKG_NAME:=              pcre 
    1010PKG_VERSION:=           7.0 
    11 PKG_RELEASE:=           1 
     11PKG_RELEASE:=           2 
    1212PKG_MD5SUM:=            a34681744d97d8eb41c576de71c97150 
    1313PKG_SOURCE_URL:=        @SF/pcre 
     
    1919CONFIGURE_STYLE:=       gnu 
    2020CONFIGURE_ARGS+=        --enable-utf8 
     21# C++ support uses libstdc++ not uClibc++ so disable it 
     22CONFIGURE_ARGS+=        --disable-cpp 
    2123BUILD_STYLE:=           auto 
    2224INSTALL_STYLE:=         auto 
    23 XAKE_FLAGS+=            ${TARGET_CONFIGURE_OPTS} CFLAGS="${TCFLAGS}" 
     25XAKE_FLAGS+=            ${TARGET_CONFIGURE_OPTS} CFLAGS='${TCFLAGS}' 
    2426 
    2527pre-build: 
    26         ${MAKE} -C "${WRKBUILD}"
    27                CC_FOR_BUILD="${HOSTCC}"
    28                LINK_FOR_BUILD="${HOSTCC}"
    29                CFLAGS_FOR_BUILD=""
    30                dftables 
     28        ${MAKE} -C '${WRKBUILD}'
     29            CC_FOR_BUILD='${HOSTCC}'
     30            LINK_FOR_BUILD='${HOSTCC}'
     31            CFLAGS_FOR_BUILD=
     32            dftables 
    3133 
    3234post-install: