mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Sneak CXX into configure script as CC. Configure script ignores CXX and keeps
on linking C++ code with "cc". This fixes build on gcc 3.4
This commit is contained in:
parent
60886ad035
commit
5470044395
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116958
@ -34,7 +34,8 @@ USE_BZIP2= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+=--enable-shared --enable-xft
|
||||
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
||||
# configure ignores ${CXX} and keeps on linking C++ code with ${CC}
|
||||
CONFIGURE_ENV+= CC="${CXX}" CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${VERSION}
|
||||
USE_X_PREFIX= yes
|
||||
|
Loading…
Reference in New Issue
Block a user