boostorg / boostorg/iostreams

Forward CFLAGS options to nested bzip2/zlib builds

Open
#101 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
48
Forks
124
PR merge metrics
No merged PRs in 30d

Description

Hi!

I use CFLAGS/CXXFLAGS="-isysroot <...>" flag to pass system headers location to the compiler. b2 works fine with this and almost all boost libraries are compiled succesfully, except iostreams. When building iostreams with ZLIB/BZIP2, these nested builds fail due to missing isysroot option. How to fix zlib.jam/bzip2.jam to get it work with CFLAGS?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading zlib.jam and bzip2.jam to trace how nested builds receive compiler flags. Reproduce the iostreams build with CFLAGS/CXXFLAGS containing an isysroot option, then verify that both nested builds receive the flags and complete successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.