Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes made for cosmocc builds #908

Merged
merged 1 commit into from
Oct 9, 2023
Merged

changes made for cosmocc builds #908

merged 1 commit into from
Oct 9, 2023

Conversation

ahgamut
Copy link
Collaborator

@ahgamut ahgamut commented Oct 9, 2023

these changes are from attempting builds via

https://github.com/ahgamut/superconfigure

  • I had submitted a previous PR where I had removed msg.h from sys/socket.h, turns out OpenSSL needs msg.h in sys/socket.h
  • libc/thread/semaphore.h uses booleans, so including stdbool.h
  • the ifdef around axdx_t is from the gcc build system including CFLAGS twice (when building with the intermediate xgcc)
  • specifying ARCH=x86_64 in cosmocc when building with the host toolchain

these changes are from attempting builds via

https://github.com/ahgamut/superconfigure

- I had submitted a previous PR where I had removed msg.h from
  sys/socket.h, turns out OpenSSL needs msg.h in sys/socket.h
- libc/thread/semaphore.h uses booleans, so including stdbool.h
- the ifdef around axdx_t is from the gcc build system including CFLAGS
  twice (when building with the intermediate xgcc)
- specifying ARCH=x86_64 in cosmocc when building with the host toolchain
@ahgamut ahgamut marked this pull request as draft October 9, 2023 12:02
@ahgamut ahgamut marked this pull request as ready for review October 9, 2023 13:54
@jart jart merged commit 211d5d9 into jart:master Oct 9, 2023
5 checks passed
G4Vi pushed a commit to G4Vi/cosmopolitan that referenced this pull request Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants