CC and LDFLAGs are hardcoded and breaks cross compiling

Bug #1053136 reported by Kyle Manna on 2012-09-19
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Yavor Nikolov

Bug Description

Don't define CC, as make will default to cc which is typically a symlink to gcc anyways. This allows build tools (such as openembbed + bitbake) to override these for cross compiler variables.

Furthermore, CXX for the C++ compiler is actually desired, so change that as well. Make will use "c++" which is typically a symlink to g++ as well.

Also make LDFLAG assignments append the value rather then override the environment values passed in.

Users can override these from the environement if so desired.

Jonas Wagner (jonas-wagner) wrote :

This bug also affects me.

Is there a reason the suggested patch isn't applied?

Changed in pbzip2:
status: New → In Progress
assignee: nobody → Yavor Nikolov (yavor-nikolov)
importance: Undecided → Low
milestone: none → 1.1.10
Changed in pbzip2:
status: In Progress → Fix Committed
Changed in pbzip2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers