diff options
author | Leah Rowe <leah@libreboot.org> | 2023-05-30 16:02:25 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-05-30 16:02:25 +0100 |
commit | 83ecf2683382b11562ab4d4ec10c971b655950f2 (patch) | |
tree | 7fd116da3babc0ea7b0ae74234dce2ae71263f39 /util/ich9utils/obj/ich9gen | |
parent | 8df2f8095e11aa4995906856bf3d9396890c6dd5 (diff) |
util/*: Properly detect OpenBSD for pledge() call
The utils that are pledged checked HAVE_PLEDGE which was
bogus. OpenBSD defines __OpenBSD__, which you can check
for in ifdef.
This change makes nvmutil and spkmodem-recv *actually*
use pledge, when the utils are compiled on OpenBSD.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/ich9utils/obj/ich9gen')
0 files changed, 0 insertions, 0 deletions