Move some C/CXX FLAGS out of C/CXX. The remaining flags are host/SDK related, and will need some more thought. This is more correct in any case, and simplifies future changes.
Backport of core#29233.
Depends on D17249.
Differential D17250
build: depends move macOS C(XX) FLAGS out of C & CXX Fabien on Nov 29 2024, 15:45. Authored by Tags None Subscribers None Tokens
Details
Move some C/CXX FLAGS out of C/CXX. The remaining flags are host/SDK related, and will need some more thought. This is more correct in any case, and simplifies future changes. Backport of core#29233. Depends on D17249. Run the macos guix build.
Diff Detail
Event TimelineComment Actions Build Bitcoin ABC Diffs / Diff Testing (guix-osx) failed.
Tail of the build log: checking for library containing opendir... none required checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for struct stat.st_blksize... yes checking for inttypes.h... (cached) yes checking for stdint.h... yes checking if stdint.h can be used by C++... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for unistd.h... (cached) yes checking size of char... 1 checking size of unsigned char... 1 checking size of short... 2 checking size of unsigned short... 2 checking size of int... 4 checking size of unsigned int... 4 checking size of long... 8 checking size of unsigned long... 8 checking size of long long... 8 checking size of unsigned long long... 8 checking size of char *... 8 checking for u_char... yes checking for u_short... yes checking for u_int... yes checking for u_long... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for int16_t... yes checking for u_int32_t... yes checking for int32_t... yes checking for u_int64_t... yes checking for int64_t... yes checking for FILE *... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for time_t... yes checking size of size_t... 8 checking for ssize_t... yes checking for uintmax_t... yes checking for uintptr_t... yes checking for socklen_t... yes checking for ANSI C exit success/failure values... yes checking for getopt optreset variable... yes checking for mutexes... UNIX/fcntl configure: error: Support for FCNTL mutexes was removed in BDB 4.8. make: *** [funcs.mk:297: /bitcoin/depends/work/build/x86_64-apple-darwin/bdb/5.3.28-9962c07fb31/build_unix/.stamp_configured] Error 1 make: Leaving directory '/bitcoin/depends' Build guix-osx failed with exit code 2 |