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:
Axel Dörfler 2003-10-12 20:55:52 +00:00
parent 8c17a26b5c
commit 1bf10fafcb

4
configure vendored
View File

@ -42,7 +42,7 @@ standard_gcc_settings()
# PLATFORM_LINKLIBS # PLATFORM_LINKLIBS
gcclib=`gcc -print-libgcc-file-name` gcclib=`gcc -print-libgcc-file-name`
gccdir=`dirname ${gcclib}` gccdir=`dirname ${gcclib}`
gcc_version=`gcc --version` gcc_version=`gcc -dumpversion`
if [ "x${PLATFORM_LINKLIBS}" == "x" ] ; then if [ "x${PLATFORM_LINKLIBS}" == "x" ] ; then
PLATFORM_LINKLIBS="-L ${gccdir} -lgcc" PLATFORM_LINKLIBS="-L ${gccdir} -lgcc"
fi fi
@ -101,7 +101,7 @@ cat << EOF > build/BuildConfig
FLOPPY_PATH ?= "${floppy}" ; FLOPPY_PATH ?= "${floppy}" ;
PLATFORM_LINKLIBS ?= ${PLATFORM_LINKLIBS} ; PLATFORM_LINKLIBS ?= ${PLATFORM_LINKLIBS} ;
PLATFORM_HEADERS ?= ${PLATFORM_HEADERS} ; PLATFORM_HEADERS ?= ${PLATFORM_HEADERS} ;
GCC_RAW_VERSION ?= ${gcc_version} GCC_RAW_VERSION ?= ${gcc_version} ;
BOCHS_DEBUG_HACK ?= ${bochs_debug} ; BOCHS_DEBUG_HACK ?= ${bochs_debug} ;
EOF EOF