faithfracture / Apple-Boost-BuildScript

Script for building Boost for Apple platforms (iOS, iOS Simulator, tvOS, tvOS Simulator, OS X)
279 stars 111 forks source link

Fix compiler flags #70

Closed cbasile closed 2 years ago

cbasile commented 3 years ago

C++ compiler flags should be defined in macro CXX_FLAGS, otherwise they will be used when compiling C files, which will result in compilation errors. This happens when compiling the json library.

guillaumealgis commented 2 years ago

Indeed, that was a mistake.

Thanks you @cbasile for the PR! I'm sorry it took so long to review it :(