[buildroot 0000598]: [patch] Host CPP used rather than toolchain CPP
bugs at busybox.net
bugs at busybox.net
Mon Dec 12 11:02:15 UTC 2005
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=598
======================================================================
Reported By: crafterm
Assigned To: uClibc
======================================================================
Project: buildroot
Issue ID: 598
Category: Other
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 12-12-2005 03:02 PST
Last Modified: 12-12-2005 03:02 PST
======================================================================
Summary: [patch] Host CPP used rather than toolchain CPP
Description:
Hi All,
Hope all is going well.
buildroot/packages/Makefile.in defines $(TARGET_CONFIGURE_OPTS) to be:
TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
AR=$(TARGET_CROSS)ar \
AS=$(TARGET_CROSS)as \
LD=$(TARGET_CROSS)ld \
NM=$(TARGET_CROSS)nm \
CC=$(TARGET_CROSS)gcc \
GCC=$(TARGET_CROSS)gcc \
CXX=$(TARGET_CROSS)g++ \
RANLIB=$(TARGET_CROSS)ranlib \
OBJCOPY=$(TARGET_CROSS)objcopy
but doesn't set CPP. This results in the host CPP be used rather than the
toolchain version and various configure scripts break when this happens,
thinking that a certain header exists in the staging filesystem when they
don't (eg. strace, coreutils, and others).
The attached patch fixes this.
Cheers,
Marcus
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
12-12-05 03:02 crafterm New Issue
12-12-05 03:02 crafterm Status new => assigned
12-12-05 03:02 crafterm Assigned To => uClibc
12-12-05 03:02 crafterm File Added: cpp.diff
======================================================================
More information about the uClibc-cvs
mailing list