Skip to content

Makefile improvements#12

Merged
stef merged 3 commits into
stef:masterfrom
flynn162:build
Jun 30, 2025
Merged

Makefile improvements#12
stef merged 3 commits into
stef:masterfrom
flynn162:build

Conversation

@flynn162
Copy link
Copy Markdown
Contributor

Added -Werror=attributes -Werror=format-truncation to CFLAGS. This will help detect some incorrect placements of __attribute__ expressions and format string overflows.

Added a more robust detection flow for the libsodium version.

Have an option to use -Wl,-rpath,$ORIGIN in the final dynamic linking step. We need to double-escape the command line arg in the makefile ($ <--sh-- '$' <--make-- '$$')

@sonarqubecloud
Copy link
Copy Markdown

@stef
Copy link
Copy Markdown
Owner

stef commented Jun 29, 2025

beautiful!

@stef stef merged commit 1d0b934 into stef:master Jun 30, 2025
4 checks passed
@flynn162 flynn162 deleted the build branch June 30, 2025 08:42
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