Skip to content

Commit

Permalink
Fix ibmcxx-clang build.sh flags. Account for ibmcxx-clang already def…
Browse files Browse the repository at this point in the history
…ining unix macro.
  • Loading branch information
grafikrobot committed Jan 31, 2025
1 parent f667777 commit db458da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ case "${B2_TOOLSET}" in
;;

ibmcxx-clang)
CXX_VERSION_OPT=${CXX_VERSION_OPT:--qversion}
B2_CXXFLAGS_RELEASE="-O3 -s -Wno-deprecated-declarations"
CXX_VERSION_OPT=${CXX_VERSION_OPT:---version}
B2_CXXFLAGS_RELEASE="-O3 -Wl,-s -Wno-deprecated-declarations"
B2_CXXFLAGS_DEBUG="-O0 -fno-inline -g -Wno-deprecated-declarations"
;;

Expand Down
2 changes: 2 additions & 0 deletions src/engine/jam.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@
#define PATH_DELIM '/'

#ifdef _AIX
#ifndef unix
#define unix
#endif
#define MAXLINE 23552 /* 24k - 1k, max chars per command line */
#define OSMINOR "OS=AIX"
#define OS_AIX
Expand Down

0 comments on commit db458da

Please sign in to comment.