Closed kpcyrd closed 1 year ago
Hi!
The Makefile was updated to let you override CFLAGS
(without requiring the additional -I...
) and LDFLAGS
.
Does that work for you?
I can also add a Zig build file, so that it's easy to cross compile to any architecture.
The Makefile was updated to let you override
CFLAGS
(without requiring the additional-I...
) andLDFLAGS
.
For future reference, that was commit f278117be2e5ee563813df83e1f22fd567461d4e.
So, does that work for you? If you need any other changes to be made, just lemme know :)
Thanks, with that patch make bin
works nicely! :)
btw the package is currently using a git clone instead of tar balls because in the github generated tar ball is missing the libhydrogen submodule.
hi!
I've packaged encpipe for Arch, building the binary like this:
gives me this warning:
In the makefile I noticed that CFLAGS is being set unless passed explicitly, so I tried this:
compile fails with:
Next up I tried this:
which compiles again, but same warning:
Lastly I tried this:
which works and resulted in a FULL RELRO binary, but I'm not sure if it's the correct thing to do:
Do you have any hints what's the correct way to pass CFLAGS and LDFLAGS for this project?
Thanks!