Fixed the new version identification (now uses -dumpversion instead of --version),
also added a semi-colon to the Jam line defining GCC_RAW_VERSION. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4998 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8c17a26b5c
commit
1bf10fafcb
4
configure
vendored
4
configure
vendored
@ -42,7 +42,7 @@ standard_gcc_settings()
|
||||
# PLATFORM_LINKLIBS
|
||||
gcclib=`gcc -print-libgcc-file-name`
|
||||
gccdir=`dirname ${gcclib}`
|
||||
gcc_version=`gcc --version`
|
||||
gcc_version=`gcc -dumpversion`
|
||||
if [ "x${PLATFORM_LINKLIBS}" == "x" ] ; then
|
||||
PLATFORM_LINKLIBS="-L ${gccdir} -lgcc"
|
||||
fi
|
||||
@ -101,7 +101,7 @@ cat << EOF > build/BuildConfig
|
||||
FLOPPY_PATH ?= "${floppy}" ;
|
||||
PLATFORM_LINKLIBS ?= ${PLATFORM_LINKLIBS} ;
|
||||
PLATFORM_HEADERS ?= ${PLATFORM_HEADERS} ;
|
||||
GCC_RAW_VERSION ?= ${gcc_version}
|
||||
GCC_RAW_VERSION ?= ${gcc_version} ;
|
||||
BOCHS_DEBUG_HACK ?= ${bochs_debug} ;
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user