Skip to content

build(CMake): restore legacy compiler flags and conditional test build#318

Merged
deemar merged 2 commits into
HardySimpson:masterfrom
narfa0215:master
Dec 29, 2025
Merged

build(CMake): restore legacy compiler flags and conditional test build#318
deemar merged 2 commits into
HardySimpson:masterfrom
narfa0215:master

Conversation

@narfa0215

Copy link
Copy Markdown
Contributor

Restore the previous CMake compiler flag configuration to maintain compatibility with static builds and cross-compilation environments. Testing is now enabled only when UNIT_TEST is explicitly set.

Restore the previous CMake compiler flag configuration to maintain
compatibility with static builds and cross-compilation environments.
Testing is now enabled only when UNIT_TEST is explicitly set.
- Add consumer.o and fifo.o to OBJ and dependency rules in Makefile
  to include missing object files during compilation.
- Replace _Alignas(PAGE_SIZE) with __attribute__((aligned(PAGE_SIZE))) in
  fifo.h for better compatibility with compilers.

This fixes Makefile build errors and ensures fifo is properly aligned.
@narfa0215

Copy link
Copy Markdown
Contributor Author

fix(Makefile/fifo): fix compilation issues

  • Add consumer.o and fifo.o to OBJ and dependency rules in Makefile
    to include missing object files during compilation.
  • Replace _Alignas(PAGE_SIZE) with attribute((aligned(PAGE_SIZE))) in
    fifo.h for better compatibility with compilers.

This fixes Makefile build errors and ensures fifo is properly aligned.

@deemar deemar merged commit 0cc6e46 into HardySimpson:master Dec 29, 2025
14 checks passed
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